[fedora-india] How to override RPM macro
satyaakam goswami
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'
> /usr/sbin
>
have you tried defining in /etc/rpm/macros
http://fedoraproject.org/wiki/How_to_create_an_RPM_package#Macros
-Satya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/india/attachments/20101231/23c8eefd/attachment-0001.html
More information about the india
mailing list