Don't provide rpmlib(DynamicBuildRequires) in source packages

Packages can never provide rpmlib() capabilities, don't pollute the
namespace with invalid (if mostly harmless) data. The use-case of
identifying whether there are dynamically generated buildrequires in
an src.rpm is satisfied by looking for RPMSENSE_FIND_REQUIRES type
requires as of commit bee5dc94cf.
This commit is contained in:
Panu Matilainen 2019-10-24 12:45:53 +03:00
parent b9ee269fba
commit ac096e43fc
1 changed files with 0 additions and 4 deletions

View File

@ -209,10 +209,6 @@ static int doBuildRequires(rpmSpec spec, int test)
*packageDependencies(spec->sourcePackage, RPMTAG_REQUIRENAME),
spec->sourcePackage->header);
parseRCPOT(spec, spec->sourcePackage,
"rpmlib(DynamicBuildRequires) = 4.15.0-1",
RPMTAG_PROVIDENAME, 0, RPMSENSE_FIND_PROVIDES | RPMSENSE_RPMLIB,
addReqProvPkg, NULL);
rc = RPMRC_MISSINGBUILDREQUIRES;
exit: