[systemd] Filter python modules from provides
Zbigniew Jędrzejewski-Szmek
zbyszek at fedoraproject.org
Sat Aug 17 04:19:13 UTC 2013
commit 34e05a53ae7e61903b6c91ef2aa39fc553f9c2f8
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Aug 16 22:45:17 2013 -0400
Filter python modules from provides
Those are "private libraries" and should never be present
in provides.
systemd.spec | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
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
More information about the scm-commits
mailing list