Re: DISTRIBUTION tag seems wrong

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 7 May 2014 10:54:38 -0400
Steve Grubb <sgrubb@xxxxxxxxxx> wrote:

> 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.
rpmfusion has it wrong, they should be using rpmfusion.  koji sets the
distribution tag for everything that is built in the buildsys to be the
same. for fedora that is "Fedora Project" as that is who is building
and distributing the rpms

> 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?
neither is wrong. 

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

disttag is a macro defined at build time and is not something embedded
into the binary rpms.  I wouldn't expect it to be visible in the built
rpms.

Dennis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJTamUPAAoJEH7ltONmPFDRsecQAJhrvjnz8iXht0wEzmFkgWFZ
8rsa/ifBYVPq5N3FADJLPm0EnxEq6Q2twcKXJyqKG/exXVFxkj/ND5sqSYCJSSW1
+TRZ1ascNoCbfCrUdJOb7ZSsx1ZEAF+E1iv9ItdadGaz123alaM8wh8d/1C5ULxh
w8gUuCS7CwXvlxwjUjn+thqbYQzhv++OOjTgyW5n2FCqowtdEnQ0htybL3xmnUFm
HoNcFzOZVC3W+1viM6faLFIIwjo3BL5mwXjcx0jP5bpZ27V8N1fGlhqDEy5Tvzdu
j6IHNqY2vJPLw28bR3rh/J2hTT28ygWbuTUY4PKK1MfAFPsuRSVaT1LZ5xsyOLhI
hNrC+K9PtuWOQUfZNblVfzJhqbmVeaypzWRfq1sbtXzL9csTBt0ayebSurvdlf/A
BKFucmvGXndr12kfvyZaLe+OKDqWqCZuS71pJDV0axT9tdYeainu9+AmJ3JzZiHE
oZBsE/D+OuKawV8lip2nf02dpPpOEUlfpUd+dZR+A8zQbM3Tiencb/Uapz65Sog3
+7URUYLWxUV67Gwl4oqN+9qpbi4EZF8CktnpP15Ix/81nFL90BO7KctePY2Hc9wZ
6LKyWh5eKpiG1PsaKwFYDP41vDNb9HnTCeJlGjeJsvHb9MCsao3tIiCRyt/TyTlE
s0R83DDYgsaJoBMpJmuq
=89H5
-----END PGP SIGNATURE-----
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[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