Re: How to change --exec-prefix in %configure?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2007-07-03 at 23:52 +0400, Peter Lemenkov wrote:
> Hello All!
> Subj.
> I faced some difficulties. For some reason I need to add
> --exec-prefix=/ to %configure. Firstly, I did it in he trivial way:
> 
> %configure --exec-prefix=/
> 
> but failed - default exec-prefix (which explicitly defines in that
> macro) used instead of mine.
> 
> So far I've got simple question - how can I pass my custom exec-prefix
> w/o copypasting whole %configure macro into my spec and fixing it a
> little?

Don't use %configure, IMHO it's evil. Why? You just found out.

I think it's better to know exactly where things are going placed when
your spec file is evaluated so its better to obvious and explicit in the
spec file and pass the parameters explicitly so there is no confusion
due to silent obfuscation. Not all configure scripts are the same. It's
your job as a packager to know exactly what your package's configure
script is doing. Perhaps others disagree, but I've seen too many people
burned by %configure defying expectation. YMMV.

-- 
John Dennis <jdennis@xxxxxxxxxx>


--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers

--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux