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 stefan.schantl@ipfire.org --- 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 stefan.schantl@ipfire.org 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