On May 7, 2014 6:54 PM, "Steve Grubb" <sgrubb@xxxxxxxxxx> wrote:
>
> Hello,
Hi,
>
> 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?
>
> 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.
>
> -Steve
--
-Igor Gnatenko
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct