Bug 134374
Summary: | find-requires: match internal RPM behavior | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bill Nottingham <notting> | ||||
Component: | rpm | Assignee: | Jeff Johnson <jbj> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Mike McLean <mikem> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | nobody+pnasrat, rvokal, strobert | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-10-01 21:41:03 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Bill Nottingham
2004-10-01 18:58:54 UTC
Created attachment 104643 [details]
patch that removes filtering
find-requires dead and gone. if anything, I will remove find-requires and find-provides from rpm. Look at /usr/lib/rpm/rpmdeps for the replacement (which uses the same internal dependency generator as rpm). colors are not set if/when find-{requires,provides} are used, and there is other missing data in packages as well. I'll bite. rpmdeps doesn't output any information related to colors at all, so how is it missing when something else is used? rpmdeps is a replacement for find-requires that uses the internal dependency extraction (which filters GLIBC_PRIVATE). rpmdeps does not generate colors, nor can colors be generated external to rpm without breaking/changing the ancient find-requires API. So the only way to add coloring to package files is to use the internal dependency generator, which has been in "production" since RHL 9. There is --debug in rpmdeps if you need tool to identify what colors are assigned. Other options could be added if that is your quest. My goal writing rpmdeps was to supply a replacement for find-requires that filtered using the internal dependency extractor, not otherwise. Note that there is much much more than adding a color tag going on internally. There are other properties, like ensuring that dependencies are sorted, and that dependencies are attached per-file, in a forward <-> backward compatible way that make any attempt to create the information in helper using an API more than a bit tricky. Hm, OK. Unfortunately, I have a need to filter deps; I see this leading to problems. :/ What problems? You identify what you want filtered, I add internal to rpm. |