--qf %{license}

Kevin Fenzi kevin at scrye.com
Tue Oct 23 20:39:26 UTC 2007


On Tue, 23 Oct 2007 22:12:11 +0200
shrek-m at gmx.de ("shrek-m at gmx.de") wrote:

> hi,
> 
> not a lot of GPLv3 packages.
> 
> # rpm -qa --qf "%{license} %{name}\n" | grep -i v3
> GPLv3+ cpio
> GPLv3+ m4
> GPLv3 texinfo
> GPLv3 jwhois
> GPLv3 info
> GPLv3+ binutils
> GPLv3 texinfo-tex

Note that this will only show those packages you happen to have
installed.

Try repoquery instead of rpm for the full list in the repo... 

repoquery -a --qf "%{license} %{name}\n" | grep -i v3

> "R[edhat]PM  Package Manager" and "Yellowdog Updater Modified"
> 
> # rpm -qa --qf "%{name} %{license}\n" rpm\* yum\* | sort
> rpm-build GPLv2+
> rpm GPLv2+
> rpm-libs GPLv2+ and LGPLv2+ with exceptions
> rpm-python GPLv2+
> yum GPLv2+
> yum-metadata-parser GPL

And? 

What are you trying to do? 

kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20071023/b11f6317/attachment.sig>


More information about the fedora-test-list mailing list