Re: Displaying %doc and language specific files of an rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 1 Dec 2008, Till Maas wrote:
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

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]"

	- Panu -

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux