On Wed, 7 May 2014 19:02:57 +0400 Igor Gnatenko <i.gnatenko.brain@xxxxxxxxx> wrote: > > 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. > > I think first right. How about EPEL? If that's true, what tag should output Fedora 20? Something should. We also have the VENDOR tag and that is Fedora Project. I think that is the right place for Fedora Project. -Steve > > 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? > > First. We choosed first method for Copr (but with changes) > > > > # 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. > > Here I think the same. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct