On Fri, Dec 31, 2010 at 4:03 PM, Lakshmipathi.G <[email protected]>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
_______________________________________________
india mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/india

Reply via email to