[rhelv6-list] rpm output changed

Michael Coffman michael.coffman at avagotech.com
Tue Apr 10 18:42:45 UTC 2012


On Tue, Apr 10, 2012 at 11:31 AM, Phil Perry <phil at elrepo.org> wrote:

> On 10/04/12 16:45, Michael Coffman wrote:
>
>> I would like to be able to programatically determine the macrofiles that
>> rpm is using.     I used to be able to easily get this from rpm, but not
>> on
>> rhel6.
>>
>
> On rhel5
>> $ rpm --version
>> RPM version 4.4.2.3
>> $ rpm -v --showrc |grep macrofiles
>> macrofiles            :
>> /usr/lib/rpm/macros:/usr/lib/**rpm/ia32e-linux/macros:/usr/**
>> lib/rpm/redhat/macros:/etc/**rpm/macros.*:/etc/rpm/macros:/**
>> etc/rpm/ia32e-linux/macros:~/.**rpmmacros
>>
>> On rhel6:
>> $ rpm --version
>> RPM version 4.8.0
>> $ rpm -v --showrc |grep macrofiles
>> macrofiles            : (not set)
>>
>> Is there some place I can depend on to be available on rhel6 that will
>> have
>> the defaults similar to what was shown on rhel5.
>>
>> Thanks.
>>
>>
> Do you have redhat-rpm-config installed?
>
>
Nope.   That was what I needed.   Thanks!


> ______________________________**_________________
> rhelv6-list mailing list
> rhelv6-list at redhat.com
> https://www.redhat.com/**mailman/listinfo/rhelv6-list<https://www.redhat.com/mailman/listinfo/rhelv6-list>
>



-- 
-MichaelC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhelv6-list/attachments/20120410/5c51c56b/attachment.htm>


More information about the rhelv6-list mailing list