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:
parent
b9ee269fba
commit
ac096e43fc
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue