Determining the component for a bug submission

Jerry Amundson jamundso at gmail.com
Fri Feb 27 01:28:47 UTC 2009


On Thu, Feb 26, 2009 at 4:36 PM, Adam Williamson <awilliam at redhat.com> wrote:
> On Thu, 2009-02-26 at 17:06 -0500, Robert Moskowitz wrote:
>
>> Thanks.  I will attempt to note this method for future use.
>
> Neat shortcut if you know what the binary is but don't know what package
> it's in:
>
> rpm -qf `which somebinary`
>
> e.g.:
>
> [adamw at adam ~]$ rpm -qf `which glxgears`
> glx-utils-7.3-5.fc11.x86_64

However, the BZ components (I just recently learned myself) are src
rpms, so something like this can give the final answer:

rpm -qf --qf '%{SOURCERPM}\n' `which glxgears`
or
rpm -qf --qf '%{SOURCERPM}\n'
/usr/share/system-config-selinux/system-config-selinux.py

jerry




More information about the fedora-test-list mailing list