From: Stefan Schantl Date: Mon, 26 Oct 2015 09:48:55 +0000 (+0100) Subject: systemd: Enable python bindings X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63af7a712dffce481c1771e74ccba245a8f50486;p=ipfire-3.x.git 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 --- 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