Let's chmod differently.

f41
Gwyn Ciesla 6 years ago
parent 164170fabd
commit 01893545cd

@ -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:

Loading…
Cancel
Save