[fedora-india] How to override RPM macro
satyaakam at gmail.com
Fri Dec 31 10:44:39 UTC 2010
On Fri, Dec 31, 2010 at 4:03 PM, Lakshmipathi.G <lakshmipathi.g at gmail.com>wrote:
> Hi -
> I'm trying this for almost 4 hrs now - Still not getting it.
> I need to override the rpm macro _sbindir from /usr/sbin something like
> "/opt/sbin" (I don't want to override default prefix "/usr" )
> I tried adding it in ~/macro or editing /usr/lib/rpm/macro - nothing seems
> to work for me.
> not even from command line -
> #rpm --define '_sbindir /opt'
> # rpm --eval '%_sbindir'
have you tried defining in /etc/rpm/macros
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the india