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

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

 



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>

I want to extend this to display a "-> linktarget" if a file is a symlink. 
This is what I tried, but it always adds the "->":

rpm -qp --qf "[%{filenames} %|filelinktos?{-> %{filelinktos}}:{}| \n]"

Do you know, how to make this work? I found the %|foo?{bar}:{baz}| syntax in 
the queryformat doc file from rpm.

Regards,
Till

Attachment: signature.asc
Description: This is a digitally signed message part.

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