From 59c5e9b68dfcf7d88314b8ae2b15e6d8b710c63a002ae3fa4f31cc1a55de6bbd Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Thu, 11 Jul 2024 10:19:12 +0000 Subject: [PATCH] - Make sure systemd-sysvcompat replaces systemd-sysvinit on upgrades (bsc#1218110) OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1543 --- systemd.changes | 5 +++++ systemd.spec | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/systemd.changes b/systemd.changes index cd3fa4db..2a3cf1e3 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 11 10:17:06 UTC 2024 - Franck Bui + +- Make sure systemd-sysvcompat replaces systemd-sysvinit on upgrades (bsc#1218110) + ------------------------------------------------------------------- Mon Jul 8 07:56:15 UTC 2024 - Franck Bui diff --git a/systemd.spec b/systemd.spec index ce7a3bb4..10ce570a 100644 --- a/systemd.spec +++ b/systemd.spec @@ -174,8 +174,6 @@ Provides: systemd-coredump = %{version}-%{release} Obsoletes: systemd-coredump < %{version}-%{release} Provides: systemd-logger = %{version}-%{release} Obsoletes: systemd-logger < %{version}-%{release} -Provides: systemd-sysvinit = %{version}-%{release} -Obsoletes: systemd-sysvinit < %{version}-%{release} Provides: systemd-analyze = %{version}-%{release} Obsoletes: pm-utils <= 1.4.1 Obsoletes: suspend <= 1.0 @@ -270,8 +268,8 @@ developing and building applications linking to these libraries. Summary: SySV and LSB init script support for systemd (deprecated) License: LGPL-2.1-or-later Requires: %{name} = %{version}-%{release} -Provides: systemd-sysvinit:%{_sbindir}/runlevel -Provides: systemd-sysvinit:%{_sbindir}/telinit +Provides: systemd-sysvinit = %{version}-%{release} +Obsoletes: systemd-sysvinit < %{version}-%{release} %description sysvcompat This package ships the necessary files that enable minimal SysV and LSB init