Bug 155301 - RPM: support for Enhances, Suggests, Supplements, Recommends incomplete
Summary: RPM: support for Enhances, Suggests, Supplements, Recommends incomplete
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 6
Hardware: Other Other
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Michael Schröder
QA Contact: E-mail List
URL:
Whiteboard: agruen:track
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-04 19:26 UTC by Andreas Gruenbacher
Modified: 2006-03-17 18:10 UTC (History)
3 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
The first attempt to add a %__find_supplements script as in the attached patch didn't work. (2.18 KB, patch)
2006-03-04 19:34 UTC, Andreas Gruenbacher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Gruenbacher 2006-03-04 19:26:10 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.
Comment 1 Andreas Gruenbacher 2006-03-04 19:34:58 UTC
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...
Comment 2 Klaus Kämpf 2006-03-05 14:20:08 UTC
Adding support for our complete set of dependencies is also something for 'rug' ...
Comment 3 Michael Schröder 2006-03-06 11:12:30 UTC
Provides are just wrong, please fix supplements!
Comment 6 Michael Schröder 2006-03-06 11:30:38 UTC
Could you at least explain to us what you meant with "didn't work"?
Comment 7 Andreas Gruenbacher 2006-03-06 12:07:43 UTC
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.
Comment 8 Andreas Gruenbacher 2006-03-11 11:53:50 UTC
Until rpm supports querying for supplements and enhances tags,
~mls/rpmdumpreq can be used as a substitute.
Comment 10 Michael Schröder 2006-03-17 18:10:50 UTC
Fixed in STABLE.