[fedora-india] How to override RPM macro

Lakshmipathi.G lakshmipathi.g at gmail.com
Fri Dec 31 10:33:11 UTC 2010

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'

Thanks for any help.

FOSS Programmer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/india/attachments/20101231/f42ee295/attachment.html 

More information about the india mailing list