On 05/11/2013 03:07 PM, Jonathan Ryshpan wrote:
If only. The -f option applies only to queries, eg. $ rpm -qf /usr/lib64/pkcs11/gnome-keyring-pkcs11.so gnome-keyring-3.6.3-1.fc18.x86_64 to discover which rpm provides the specified file.
From the rpm man page:
select options: [PACKAGE_NAME] [-a,--all] [-f,--file FILE]
It doesn't say that this only applies to queries, just that you're able to specify the filename. And, as I wrote, I hadn't tried it myself.