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