|
|
@ -329,6 +329,11 @@ cp -alf %{buildroot}%{py3_sipdir} \
|
|
|
|
%{buildroot}%{_datadir}/python3-sip/PyQt5
|
|
|
|
%{buildroot}%{_datadir}/python3-sip/PyQt5
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "%{_prefix}" != "/usr" ]; then
|
|
|
|
|
|
|
|
cp -ru %{buildroot}/usr/* %{buildroot}%{_prefix}/
|
|
|
|
|
|
|
|
rm -rf %{buildroot}/usr/*
|
|
|
|
|
|
|
|
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
|
|
|
|
for i in %{buildroot}%{python3_sitearch}/PyQt5/*.so %{buildroot}%{python3_dbus_dir}/pyqt5.so ; do
|
|
|
|
test -x $i || chmod a+rx $i
|
|
|
|
test -x $i || chmod a+rx $i
|
|
|
|