On Thu, Feb 26, 2009 at 4:36 PM, Adam Williamson <awilliam(a)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, 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