From db36e23f488d38bdb9ad3e8c19b8509862a0154c Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 31 Jul 2019 09:54:15 -0500 Subject: [PATCH] Progress! --- python-qt5.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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)