diff --git a/python-qt5.spec b/python-qt5.spec index c17fd65..b8a3dd1 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -84,11 +84,7 @@ BuildRequires: qt5-qtbase-private-devel %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} %{?_sip_api:Requires: sip-api(%{_sip_api_major}) >= %{_sip_api}} -%filter_provides_in %{python_sitearch} %{?_qt5_plugindir} -%if 0%{?with_python3} -%filter_provides_in %{python3_sitearch} %{?_qt5_plugindir} -%endif -%filter_setup +%global __provides_exclude_from ^(%{python2_sitearch}/.*|%{python3_sitearch}/.*|%{_qt5_plugindir}/.*)$ Provides: PyQt5 = %{version}-%{release} Provides: PyQt5%{?_isa} = %{version}-%{release}