diff --git a/librepo.spec b/librepo.spec
index 4cfc607..7805102 100644
--- a/librepo.spec
+++ b/librepo.spec
@@ -35,12 +35,6 @@ 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