Thanks Rakesh,I'm okay with /opt .Yes,Saurabh adding --define with rpmbuild works. Looks like better solution for my requirement. But it seems like there is no option to override _prefix of %configure macro inside .spec file. Right?
If I could find solution like that ,anyone could built it using simple "rpmbuild -ba" without worrying about editing .rpmmacros file or defining macro at command line because it's defined at spec. file. If you came across such solution - please let me know. For now I'll go with rpmbuild --define option. On Tue, Jan 11, 2011 at 12:47 PM, Lakshmipathi.G <[email protected]>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. > > -- > ---- > Cheers, > Lakshmipathi.G > FOSS Programmer. > www.giis.co.in > -- ---- Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in
_______________________________________________ india mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/india
