From af38e53b8be681a560566678a903fe513c0c1ee6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Mon, 7 Oct 2013 20:27:47 +0200 Subject: [PATCH] Don't show tied packages warning for packages not in current repository --- src/distromatic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/distromatic.c b/src/distromatic.c index e3ab960..3175c88 100644 --- a/src/distromatic.c +++ b/src/distromatic.c @@ -631,9 +631,10 @@ resolveFirstLevelDependencies(struct configTag *ct, int archidx) } /* for */ if ((found >= 1) && (currheader->altrepository != 0) && + (currheader->altrepository = ct->repository_level) && (provided->provider[foundprovider]->sourceheader != currheader->sourceheader) && (provided->provider[foundprovider]->altrepository == currheader->altrepository)) { - snprintf(warning, PATH_MAX, "%s(%s,%s) requires %s(%s,%s) because it only provides %s = %s", + snprintf(warning, PATH_MAX, "%s(%s,%s) requires %s(%s,%s) because it provides %s=%s", currheader->name, currheader->arch, ct->repository[currheader->altrepository]->tag,