]> git.pld-linux.org Git - packages/systemd.git/commitdiff
move systemd-sysv-convert to -sysv-compat subpackage to avoid python3 dep
authorJan Palus <atler@pld-linux.org>
Wed, 14 Sep 2022 08:08:17 +0000 (10:08 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 14 Sep 2022 08:08:17 +0000 (10:08 +0200)
consider dropping it entirely: fedora did it in 2013

systemd.spec

index eb03f06eaf8afddd7a6e65a72bef39de689df5e8..6536a7258e20dc7cf41d695a5535bbe438fcfa6f 100644 (file)
@@ -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
This page took 0.321561 seconds and 4 git commands to generate.