Escape macros.

f41
Gwyn Ciesla 6 years ago
parent 6b50992940
commit d786d9dd0c

@ -21,8 +21,8 @@
## f29+ no longer using separate sipdir for python3 ## f29+ no longer using separate sipdir for python3
%global py3_sipdir %{_datadir}/sip/PyQt5 %global py3_sipdir %{_datadir}/sip/PyQt5
#if 0%{?fedora} < 29 #if 0%%{?fedora} < 29
#global py3_sipdir %{_datadir}/python3-sip/PyQt5 #global py3_sipdir %%{_datadir}/python3-sip/PyQt5
#endif #endif
%if 0%{?rhel} == 7 %if 0%{?rhel} == 7
@ -336,7 +336,7 @@ fi
# ensure .so modules are executable for proper -debuginfo extraction # ensure .so modules are executable for proper -debuginfo extraction
find %{buildroot} -type f -name '*.so' | xargs chmod a+rx find %{buildroot} -type f -name '*.so' | xargs chmod a+rx
#for i in %{buildroot}%{python3_sitearch}/PyQt5/*.so %{buildroot}%{python3_dbus_dir}/pyqt5.so ; do #for i in %%{buildroot}%%{python3_sitearch}/PyQt5/*.so %%{buildroot}%%{python3_dbus_dir}/pyqt5.so ; do
#test -x $i || chmod a+rx $i #test -x $i || chmod a+rx $i
#done #done
%endif # with_python3 %endif # with_python3
@ -350,7 +350,7 @@ if [ "%{_prefix}" != "/usr" ]; then
fi fi
# ensure .so modules are executable for proper -debuginfo extraction # ensure .so modules are executable for proper -debuginfo extraction
find %{buildroot} -type f -name '*.so' | xargs chmod a+rx find %{buildroot} -type f -name '*.so' | xargs chmod a+rx
#for i in %{buildroot}%{python2_sitearch}/PyQt5/*.so %{buildroot}%{python2_dbus_dir}/pyqt5.so ; do #for i in %%{buildroot}%%{python2_sitearch}/PyQt5/*.so %%{buildroot}%%{python2_dbus_dir}/pyqt5.so ; do
#test -x $i || chmod a+rx $i #test -x $i || chmod a+rx $i
#done #done
%endif # with_python2 %endif # with_python2

Loading…
Cancel
Save