[rhelv6-list] rpm output changed

Phil Perry phil at elrepo.org
Tue Apr 10 17:31:34 UTC 2012


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?




More information about the rhelv6-list mailing list