f41
Gwyn Ciesla 6 years ago
parent 01893545cd
commit db36e23f48

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

Loading…
Cancel
Save