[packages/systemd] move systemd-sysv-convert to -sysv-compat subpackage to avoid python3 dep

atler atler at pld-linux.org
Wed Sep 14 10:22:14 CEST 2022


commit 78c3cf6fd299d2a24a385c5f2b412078e768b5a6
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Sep 14 10:08:17 2022 +0200

    move systemd-sysv-convert to -sysv-compat subpackage to avoid python3 dep
    
    consider dropping it entirely: fedora did it in 2013

 systemd.spec | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/systemd.spec b/systemd.spec
index eb03f06..6536a72 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -180,6 +180,7 @@ Requires:	udev-core = %{epoch}:%{version}-%{release}
 Requires:	udev-libs = %{epoch}:%{version}-%{release}
 Requires:	uname(release) >= 4.15
 Requires:	util-linux >= 2.30
+Suggests:	%{name}-sysv-compat
 %{?with_cryptsetup:Suggests:	cryptsetup >= 2.4.0}
 Suggests:	fsck >= 2.25.0
 %{?with_fido2:Suggests:	libfido2}
@@ -356,6 +357,19 @@ Install this package when you are ready to final switch to systemd.
 Ten pakiet należy zainstalować po przygotowaniu się do ostatecznego
 przejścia na systemd.
 
+%package sysv-compat
+Summary:	systemd/SysV interoperability tools
+Summary(pl.UTF-8):	Narzędzia wspomagające współpracę między systemd a SysV
+Group:		Base
+Requires:	python3
+Requires:	python3-modules
+
+%description sysv-compat
+systemd/SysV interoperability tools.
+
+%description sysv-compat -l pl.UTF-8
+Narzędzia wspomagające współpracę między systemd a SysV.
+
 %package units
 Summary:	Configuration files, directories and installation tool for systemd
 Summary(pl.UTF-8):	Pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla systemd
@@ -1295,7 +1309,6 @@ fi
 %attr(755,root,root) %{_bindir}/systemd-run
 %attr(755,root,root) %{_bindir}/systemd-socket-activate
 %attr(755,root,root) %{_bindir}/systemd-stdio-bridge
-%attr(755,root,root) %{_bindir}/systemd-sysv-convert
 %attr(755,root,root) %{_bindir}/systemd-umount
 %attr(755,root,root) %{_bindir}/timedatectl
 /lib/modprobe.d/systemd.conf
@@ -1695,6 +1708,10 @@ fi
 %{_mandir}/man8/shutdown.8*
 %{_mandir}/man8/telinit.8*
 
+%files sysv-compat
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/systemd-sysv-convert
+
 %files units
 %defattr(644,root,root,755)
 %dir %{_sysconfdir}/binfmt.d
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/78c3cf6fd299d2a24a385c5f2b412078e768b5a6



More information about the pld-cvs-commit mailing list