On 09/05/2011 03:17 PM, Andrew Z wrote:
On Mon, Sep 5, 2011 at 5:13 PM, Todd And
Margo Chester <[email protected]>
wrote:
On 09/05/2011 12:55 PM, Andrew Z wrote:
On Mon, Sep 5, 2011 at 3:53
PM, Andrew Z <[email protected]>
wrote:
On Mon, Sep 5, 2011
at 3:49 PM, Todd And Margo Chester <[email protected]>
wrote:
Hi Guys,
I am looking at the dependencies for the
"rpm" package
#yum deplist rpm
#rpm -q --requires rpm
Yum gives me
dependency: libnss3.so
provider: nss.i386
3.12.8-1.el5.centos
provider: nss.i386 3.12.8-4.el5_6
rpm just gives me libnss3.so.
Is there a way to get rpm to tell me the
provider like yum does?
Many thanks,
-T
i think so . you need to put vendor etc into your
.rpmmacros file... it was on Centos FAQs site
somewhere.
Here are the goodies:
http://wiki.centos.org/TipsAndTricks/YumAndRPM#head-863c703185b8f37d716f15e2a25393813ccf155c
Hi Andrew,
$ more .rpmmacros
%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
$ rpm -q --requires rpm | grep -i nss
libnss3.so
libnssutil3.so
I think I am missing something.
-T
mmm. upsetting... i think rpm reads the rpms' section, but yum
does some extra lookups...
sorry that was the only trick i could think of.
No problem. I really appreciate the help!
-T
|