Re: How to make a selective spec file

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

 



Le vendredi 03 février 2006 à 13:42 -0600, Rex Dieter a écrit :
> Eric Tanguy wrote:
> > I would like to make only one spec taking into account the system build
> > is devel/fc5 or fc3/fc4.
> > How to make this ?
> > In devel/fc5 i need to have :
> > %configure CXXFLAGS="${RPM_OPT_FLAGS} -ffriend-injection"
> > and in fc3/fc4 i need to have : 
> > %configure
> 
> Something like this ought to do the trick:
> 
> %if "%{?fedora}" > "4"
> CXXFLAGS="${RPM_OPT_FLAGS} -ffriend-injection"
> %endif
> %configure
It seems it's not taken into account for devel. How to know what
%{?fedora} returns for devel ? 
Eric


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

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux