Don't show tied packages warning for packages not in current repository

This commit is contained in:
Silvan Calarco 2013-10-07 20:27:47 +02:00
parent f93e2c7c81
commit af38e53b8b

View File

@ -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,