mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-08-02 04: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
|
%endif
|
||||||
|
|
||||||
# Don't want provides for python shared objects
|
# Don't want provides for python shared objects
|
||||||
|
%if %{with_python2}
|
||||||
%{?filter_provides_in: %filter_provides_in %{python_sitearch}/.*\.so}
|
%{?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}
|
%{?filter_setup}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Reference in New Issue
Block a user