diff --git a/librepo.spec b/librepo.spec index 7805102..4cfc607 100644 --- a/librepo.spec +++ b/librepo.spec @@ -35,6 +35,12 @@ BuildRequires: libattr-devel BuildRequires: libcurl-devel >= 7.19.0 BuildRequires: openssl-devel +# prevent provides from nonstandard paths: +%filter_provides_in %{python_sitearch}/.*\.so$ +%if %{with python3} +%filter_provides_in %{python3_sitearch}/.*\.so$ +%endif +%filter_setup %description A library providing C and Python (libcURL like) API to downloading repository