diff --git a/python-qt5.spec b/python-qt5.spec index 1302ae2..b4d75dd 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -446,8 +446,10 @@ sed -i \ %{_bindir}/pyuic5 %{python3_sitearch}/PyQt5/pylupdate.so %{python3_sitearch}/PyQt5/pylupdate_main.py* +%{python3_sitearch}/PyQt5/__pycache__/pylupdate_main* %{python3_sitearch}/PyQt5/pyrcc.so %{python3_sitearch}/PyQt5/pyrcc_main.py* +%{python3_sitearch}/PyQt5/__pycache__/pyrcc_main* %files -n python%{python3_pkgversion}-qt5-base %doc NEWS README @@ -455,7 +457,7 @@ sed -i \ %{python3_dbus_dir}/pyqt5.so %dir %{python3_sitearch}/PyQt5/ %{python3_sitearch}/PyQt5-%{version}%{?snap:.%{snap}}.dist-info -#{python3_sitearch}/PyQt5/__pycache__/ +%{python3_sitearch}/PyQt5/__pycache__/__init__.* %{python3_sitearch}/PyQt5/__init__.py* %{python3_sitearch}/PyQt5/Qt.* %{python3_sitearch}/PyQt5/QtCore.*