Commit 444e6215 authored by Ulrich Sibiller's avatar Ulrich Sibiller

nx-libs.spec: fix FTBFS on RHEL6

Fixes: ArcticaProject/nx-libs#282
parent 5d533654
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment