]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - systemd/systemd.nm
systemd: Enable python bindings
[people/amarx/ipfire-3.x.git] / systemd / systemd.nm
index 0b8e604e2624ae296bf9d3803af00b52f53360e9..35d2b0bef40b7234cf054489395d1d5b0a0f43e7 100644 (file)
@@ -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