diff options
Diffstat (limited to 'nx-libs.spec')
-rw-r--r-- | nx-libs.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nx-libs.spec b/nx-libs.spec index 5668aa568..b5a47c007 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -357,6 +357,10 @@ find -name LICENSE | xargs sed -i \ -e 's/MA 02111-1307/MA 02110-1301/' # Fix source permissions find -type f -name '*.[hc]' | xargs chmod -x +# Some systems do not know -Wpedantic +%if ( 0%{?rhel} && 0%{?rhel} < 7 ) || ( 0%{?suse_version} && 0%{?suse_version} < 1310 ) +sed -i -e 's/Wpedantic/pedantic/g' nx-X11/config/cf/{{host,xorgsite}.def,xorg.cf} +%endif # Bundled nx-X11/extras # Mesa - Used by the X server |