diff --git a/newmoon.spec b/newmoon.spec index f232cd6..ed9326c 100644 --- a/newmoon.spec +++ b/newmoon.spec @@ -75,10 +75,10 @@ Requires: xdg-utils # fixes bug #42096 Requires: mailcap %if %{with syshunspell} -Suggests: hunspell-en +Recommends: hunspell-en %endif -Suggests: %{_lib}canberra0 -Suggests: %{_lib}cups2 +Recommends: %{_lib}canberra0 +Recommends: %{_lib}cups2 Provides: palemoon = %{EVRD} Provides: webclient @@ -139,7 +139,7 @@ export CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-defaulted-function-deleted -Wno export CXXFLAGS="$CFLAGS -fpermissive" %else %global optflags %(echo %{optflags} | sed -e 's/-gdwarf-4//' -e 's/-fvar-tracking-assignments//' -e 's/-frecord-gcc-switches//' -e 's/-Wa,--compress-debug-sections//') -%setup_compile_flags +%set_build_flags CFLAGS=$(echo %{optflags} | sed -e 's/-fexceptions//') CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-ignored-optimization-argument" CXXFLAGS="$CFLAGS -fpermissive"