From d09f3930d932a90ecb581b3ad6705fe220f2e4e0 Mon Sep 17 00:00:00 2001 From: Tomas Mlcoch Date: Thu, 22 Oct 2015 10:40:45 +0200 Subject: [PATCH] Revert "Remove %filter_provides_in statements" This reverts commit ebbc47cae664ea749e1663c0dabe024ea224b6bb. --- librepo.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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