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

Re: How to make a selective spec file



Eric Tanguy wrote:

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 ?

AFAIK, on devel, %fedora expands to 5 in buildsys-macros

-- Rex


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