From 63af7a712dffce481c1771e74ccba245a8f50486 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Mon, 26 Oct 2015 10:48:55 +0100 Subject: [PATCH] systemd: Enable python bindings Enable the build of systemd python bindings for python3. Requires python-lxml and python development headers to be present. Fixes #10969. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- systemd/systemd.nm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/systemd/systemd.nm b/systemd/systemd.nm index 0b8e604e2..35d2b0bef 100644 --- a/systemd/systemd.nm +++ b/systemd/systemd.nm @@ -5,7 +5,7 @@ name = systemd version = 221 -release = 3 +release = 4 maintainer = Stefan Schantl groups = System/Base @@ -49,6 +49,8 @@ build m4 pam-devel pciutils-devel + python3-devel + python3-lxml usbutils vala xz-devel @@ -56,6 +58,7 @@ build end configure_options += \ + PYTHON=%{python3} \ --with-sysvinit-path= \ --with-sysvrcnd-path= \ --enable-introspection \ @@ -429,6 +432,10 @@ packages end end + package python3-%{name} + template PYTHON3 + end + package %{name}-debuginfo template DEBUGINFO end -- 2.39.2