[Rpm-maint] PATCH: Accessing file and policy lists from python (and C)
leamas.alec at gmail.com
Sat Sep 15 14:47:31 UTC 2012
When rpm-build parses the specfile, it also parses the file list and
(nowadays?) also the policy. These are stored in specPackage objects
attached to the spec. However, these items are not visible on the
rpm.specPkg interface, neither from C nor from python.
Is there a particular reason these items aren't visible?
I have som pronlems with this related to the fedora-review tool ,
which basically forces us to use some hand-crafted specfile parsing ,
since the file lists are needed. I would certainly prefer using rpmlib's
own parsing for that. However, then external access to the fields
fileList, fileFile and policyList is needed. The enclosed patch arranges
Would it be possible to solve the access to the mentioned list, perhaps
by accepting the patch?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3265 bytes
Desc: not available
More information about the Rpm-maint