diff --git a/python-qt5.spec b/python-qt5.spec index d8b674d..6f967a0 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -84,7 +84,7 @@ BuildRequires: qt5-qtbase-private-devel %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} %{?_sip_api:Requires: sip-api(%{_sip_api_major}) >= %{_sip_api}} -%global __provides_exclude_from ^(%{python2_sitearch}/.*|%{python3_sitearch}/.*|%{_qt5_plugindir}/.*)$ +%global __provides_exclude_from ^(%{python2_sitearch}/.*\\.so|%{python3_sitearch}/.*\\.so|%{_qt5_plugindir}/.*\\.so)$ Provides: PyQt5 = %{version}-%{release} Provides: PyQt5%{?_isa} = %{version}-%{release}