Displaying %doc and language specific files of an rpm

Till Maas opensource at till.name
Mon Dec 1 21:33:32 UTC 2008


On Mon December 1 2008, Panu Matilainen wrote:

> Docs, config files, ghosts and the like can be viewed with this ('d' is
> for doc):
> rpm -qp --qf "[%{fileflags:fflags} %{filenames}\n]" <pkg>
>
> For languages there are no special formatters but this will give you the
> languages associated (if any) to each file:
> --qf "[%{filelangs} %{filenames}\n]"

Thank you very much, this is so great! :-D

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/7a37b58b/attachment.sig>


More information about the fedora-devel-list mailing list