From: Michael Schroeder Date: Mon, 1 Jul 2019 12:52:24 +0000 (+0200) Subject: Always do nevr check for src rpms, even if there are provides X-Git-Tag: 0.7.6~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69439fe4eea683200aa6449ac6632f4283997e49;p=thirdparty%2Flibsolv.git Always do nevr check for src rpms, even if there are provides Newer rpm versions add a "rpmlib(DynamicBuildRequires)" provides to source rpms in some cases. Sigh. --- diff --git a/src/pool.c b/src/pool.c index a5544531..5651f85a 100644 --- a/src/pool.c +++ b/src/pool.c @@ -1355,9 +1355,9 @@ pool_addrelproviders(Pool *pool, Id d) continue; } } - if (!s->provides) + if (!s->provides || s->arch == ARCH_SRC || s->arch == ARCH_NOSRC) { - /* no provides - check nevr */ + /* no provides or src rpm - check nevr */ if (pool_match_nevr_rel(pool, s, MAKERELDEP(d))) queue_push(&plist, p); continue;