update provides filtering
This commit is contained in:
parent
3124e3a806
commit
0a219ec86b
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user