Re: How to make a selective spec file

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

 



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

--
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