Determining the component for a bug submission

Adam Williamson awilliam at redhat.com
Fri Feb 27 01:39:46 UTC 2009


On Thu, 2009-02-26 at 19:28 -0600, Jerry Amundson wrote:
> 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,

Er, I explained that bit in my previous mail. So there was no need to do
it again here.

>  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

Nice shortcut, though. Thanks.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net




More information about the test mailing list