On 11 January 2011 12:47, Lakshmipathi.G wrote:
> Hi -
> I want to override this %configure macro's default --prefix=/usr .  I like
> to change --prefix to /opt.  Do we have anyway to change this --prefix
> without adding value to ~/.rpmmacros  or other files. I don't want to create
> relocatable package. Just default rpm install should go to /opt.
>

rpm -E %configure gives you what this macro expands to in your environ.

You can replace using %configure with configure script with whatever option
you like.

Note: In case this package is meant for Fedora, guidelines don't allow one to
install files at /opt.

Regards,

-- 
Rakesh Pandit
https://fedoraproject.org/wiki/User:Rakesh
freedom, friends, features, first
_______________________________________________
india mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/india

Reply via email to