From 01893545cd754905a0d6d7588c2ffad625c7c618 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 31 Jul 2019 08:36:15 -0500 Subject: [PATCH] Let's chmod differently. --- python-qt5.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python-qt5.spec b/python-qt5.spec index f355a50..cd9e4f8 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -335,9 +335,10 @@ if [ "%{_prefix}" != "/usr" ]; then fi # ensure .so modules are executable for proper -debuginfo extraction -for i in %{buildroot}%{python3_sitearch}/PyQt5/*.so %{buildroot}%{python3_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}%{python3_sitearch}/PyQt5/*.so %{buildroot}%{python3_dbus_dir}/pyqt5.so ; do +#test -x $i || chmod a+rx $i +#done %endif # with_python3 # Python 2 build: