Bugzilla – Bug 155301
RPM: support for Enhances, Suggests, Supplements, Recommends incomplete
Last modified: 2006-03-17 18:10:50 UTC
RPM neither has command line options similar to --requires for the new header tags, nor does it support querying for these tags in queries (rpm -q --qf ...). Also it currently does not have scripts for generating such tags automatically, analogously to %__find_requires. For managing the new tags, we need to be able to query for them. According to a suggestion by mls, kernel module packages are supposed to generate Supplements tags for the module alias (i.e., the hardware) they support. Because there is no %__find_supplements script, I cannot do that right now.
Created attachment 71259 [details] The first attempt to add a %__find_supplements script as in the attached patch didn't work. I would prefer to use Provides tags for now until support for the new tags is reasonably complete, even though Supplements tags are supposed to be more "correct": Provides works today...
Adding support for our complete set of dependencies is also something for 'rug' ...
Provides are just wrong, please fix supplements!
Could you at least explain to us what you meant with "didn't work"?
The patch from comment 1 didn't have any effect on the resulting RPM; the find-supplements script was not invoked. In addition to that, even if it was, I wouldn't have had a way to find out which supplements ended up in the package due to the lack of querying support.
Until rpm supports querying for supplements and enhances tags, ~mls/rpmdumpreq can be used as a substitute.
Fixed in STABLE.