mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-08-01 00:21:59 +03:00
Fix filtering of RPM provides for .so files
Reviewed-by: Pavel Hrdina <phrdina@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
@ -54,7 +54,12 @@ BuildRequires: python3-lxml
|
||||
%endif
|
||||
|
||||
# Don't want provides for python shared objects
|
||||
%if %{with_python2}
|
||||
%{?filter_provides_in: %filter_provides_in %{python_sitearch}/.*\.so}
|
||||
%endif
|
||||
%if %{with_python3}
|
||||
%{?filter_provides_in: %filter_provides_in %{python3_sitearch}/.*\.so}
|
||||
%endif
|
||||
%{?filter_setup}
|
||||
|
||||
%description
|
||||
|
Reference in New Issue
Block a user