|
|
|
@ -21,8 +21,8 @@
|
|
|
|
|
|
|
|
|
|
## f29+ no longer using separate sipdir for python3
|
|
|
|
|
%global py3_sipdir %{_datadir}/sip/PyQt5
|
|
|
|
|
#if 0%{?fedora} < 29
|
|
|
|
|
#global py3_sipdir %{_datadir}/python3-sip/PyQt5
|
|
|
|
|
#if 0%%{?fedora} < 29
|
|
|
|
|
#global py3_sipdir %%{_datadir}/python3-sip/PyQt5
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
@ -336,7 +336,7 @@ fi
|
|
|
|
|
|
|
|
|
|
# ensure .so modules are executable for proper -debuginfo extraction
|
|
|
|
|
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
|
|
|
|
|
#done
|
|
|
|
|
%endif # with_python3
|
|
|
|
@ -350,7 +350,7 @@ if [ "%{_prefix}" != "/usr" ]; then
|
|
|
|
|
fi
|
|
|
|
|
# ensure .so modules are executable for proper -debuginfo extraction
|
|
|
|
|
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
|
|
|
|
|
#done
|
|
|
|
|
%endif # with_python2
|
|
|
|
|