From 34e05a53ae7e61903b6c91ef2aa39fc553f9c2f8 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Aug 17 2013 03:47:06 +0000 Subject: Filter python modules from provides Those are "private libraries" and should never be present in provides. --- diff --git a/systemd.spec b/systemd.spec index 5cda922..bf85840 100644 --- a/systemd.spec +++ b/systemd.spec @@ -10,6 +10,9 @@ # directory. %global __requires_exclude pkg-config +# Do not check .so files in the python_sitelib directory for provides. +%global __provides_exclude_from ^(%{python_sitearch}|%{python3_sitearch})/.*\\.so + Name: systemd Url: http://www.freedesktop.org/wiki/Software/systemd Version: 206