DISTRIBUTION tag seems wrong

Steve Grubb sgrubb at redhat.com
Wed May 7 14:54:38 UTC 2014


Hello,

Not sure if this is bz worthy or just something to mention on a mail
list. I was doing some experimenting on creating SWID tags out of the
rpm database and noticed some inconsistencies. For example:

# rpm -q --queryformat '%{DISTRIBUTION}\n' bash
Fedora Project
# rpm -q --queryformat '%{DISTRIBUTION}\n' xbmc
Fedora 20

Seems that rpmfusion has it right and the main Fedora build system is
misconfigured.

Also...

# rpm -q --queryformat '%{PACKAGER}\n' bash
Fedora Project
# rpm -q --queryformat '%{PACKAGER}\n' xbmc
<http://free.rpmfusion.org/>

Which is correct way to do it?

# rpm -q --queryformat '%{DISTTAG}\n' bash
(none)
# rpm -q --queryformat '%{DISTTAG}\n' xbmc
(none)

You would think this would spit out f20. But it doesn't.

-Steve


More information about the devel mailing list