f41
Gwyn Ciesla 6 years ago
parent 01893545cd
commit db36e23f48

@ -349,9 +349,10 @@ if [ "%{_prefix}" != "/usr" ]; then
rm -rf %{buildroot}/usr/* rm -rf %{buildroot}/usr/*
fi fi
# ensure .so modules are executable for proper -debuginfo extraction # ensure .so modules are executable for proper -debuginfo extraction
for i in %{buildroot}%{python2_sitearch}/PyQt5/*.so %{buildroot}%{python2_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}%{python2_sitearch}/PyQt5/*.so %{buildroot}%{python2_dbus_dir}/pyqt5.so ; do
done #test -x $i || chmod a+rx $i
#done
%endif # with_python2 %endif # with_python2
# remove Python3 code from Python2 directory, fixes FTBFS like PyQt4 (#564633) # remove Python3 code from Python2 directory, fixes FTBFS like PyQt4 (#564633)

Loading…
Cancel
Save