Let's chmod differently.

This commit is contained in:
Gwyn Ciesla 2019-07-31 08:36:15 -05:00
parent 164170fabd
commit 01893545cd

View File

@ -335,9 +335,10 @@ if [ "%{_prefix}" != "/usr" ]; then
fi fi
# ensure .so modules are executable for proper -debuginfo extraction # ensure .so modules are executable for proper -debuginfo extraction
for i in %{buildroot}%{python3_sitearch}/PyQt5/*.so %{buildroot}%{python3_dbus_dir}/pyqt5.so ; do find %{buildroot} -type f -name '*.so' | xargs chmod a+rx
test -x $i || chmod a+rx $i #for i in %{buildroot}%{python3_sitearch}/PyQt5/*.so %{buildroot}%{python3_dbus_dir}/pyqt5.so ; do
done #test -x $i || chmod a+rx $i
#done
%endif # with_python3 %endif # with_python3
# Python 2 build: # Python 2 build: