Re: An easy way to redefine configure?

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

 



Am Dienstag, den 04.08.2009, 14:15 +0200 schrieb Ralf Corsepius:
> On 08/04/2009 02:01 PM, Jussi Lehtola wrote:
> > On Tue, 2009-08-04 at 13:42 +0200, Mattias Ellert wrote:
> >>> What's the correct way to do this?
> >>
> >> %global dconfigure %(rpm -E %%configure | sed
> 's!./configure!../configure!g')
> >> %dconfigure
> >
> > This works, but isn't it bad style to call rpm from within a spec
> > file..?
> Correct - This is not allowed in Fedora.
> 
> In occasions like yours, I normally use a manually
> expanded ../configure 
> ....
> 
> IMO, it's much cleaner and less error prone than to mess around with 
> %configure.

I'd also recommend this way, just run

../configure ...

and pass all necessary flags via arguments.

- fabian

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux