From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 3/4] systemd: Enable python bindings Date: Mon, 26 Oct 2015 10:48:55 +0100 Message-ID: <1445852936-16001-3-git-send-email-stefan.schantl@ipfire.org> In-Reply-To: <1445852936-16001-1-git-send-email-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7369584583746184311==" List-Id: --===============7369584583746184311== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 --- systemd/systemd.nm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/systemd/systemd.nm b/systemd/systemd.nm index 0b8e604..35d2b0b 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.4.3 --===============7369584583746184311==--