Displaying %doc and language specific files of an rpm

Till Maas opensource at till.name
Mon Dec 1 20:22:47 UTC 2008


Hiyas,

I would like to get the output of "rpm -qpl foo.rpm" with an additional 
marker, when a file is marked as %doc or specific for a specific language. 
For the docfiles, there is at least a not so easily readable way to get this 
information (rpm --dump), but I cannot find a way to get this for the 
language specific files.

It would be nice to get the output formated like this:

/sbin/foo
D /usr/share/man/man8/foo.8.gz
D de /usr/share/man/de/man8/foo.8.gz

Regards,
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20081201/fae74c82/attachment.sig>


More information about the fedora-devel-list mailing list