From 504b88799d6eed73da26a17b6b33cc7e427cf452 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Tue, 30 Jul 2019 11:14:53 -0500 Subject: [PATCH] Closer. --- python-qt5.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/python-qt5.spec b/python-qt5.spec index 5812ca6..e2e5119 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -328,10 +328,6 @@ mkdir -p %{buildroot}%{_datadir}/python3-sip cp -alf %{buildroot}%{py3_sipdir} \ %{buildroot}%{_datadir}/python3-sip/PyQt5 %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 for i in %{buildroot}%{python3_sitearch}/PyQt5/*.so %{buildroot}%{python3_dbus_dir}/pyqt5.so ; do