addReqProv: fix optimization of subpackage self-requirements
Optimization of subpackage self-requirements never worked before because version-release is normally not defined for subpackages at parse time.
This commit is contained in:
parent
3f500eb080
commit
37ca0532c0
@ -487,6 +487,8 @@ int addReqProv(/*@unused@*/ Spec spec, Header h,
|
||||
"", depEVR, depFlags))
|
||||
skip = 1;
|
||||
}
|
||||
else
|
||||
skip = 1;
|
||||
if (skip)
|
||||
rpmMessage (RPMMESS_DEBUG,
|
||||
"new dep \"%s\" is the package name, optimized out\n",
|
||||
|
Loading…
Reference in New Issue
Block a user