On Thu, 2009-02-26 at 19:28 -0600, Jerry Amundson wrote:
On Thu, Feb 26, 2009 at 4:36 PM, Adam Williamson awilliam@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@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.