diff --git a/python-qt5.spec b/python-qt5.spec index cd9e4f8..1624b89 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -349,9 +349,10 @@ if [ "%{_prefix}" != "/usr" ]; then rm -rf %{buildroot}/usr/* fi # ensure .so modules are executable for proper -debuginfo extraction -for i in %{buildroot}%{python2_sitearch}/PyQt5/*.so %{buildroot}%{python2_dbus_dir}/pyqt5.so ; do -test -x $i || chmod a+rx $i -done +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 +#test -x $i || chmod a+rx $i +#done %endif # with_python2 # remove Python3 code from Python2 directory, fixes FTBFS like PyQt4 (#564633)