[fedora-india] How to override %configure macros prefix without editing macro files?

Saurabh Bathe saurabh at beginbyte.org
Tue Jan 11 07:56:41 UTC 2011


On 01/11/2011 12:47 PM, 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.

Adding "--define '_prefix /opt/'" to your rpmbuild command line does not 
work?

--Saurabh


More information about the india mailing list