From 970211d8ee7bd44a7e34954d95086a1dfd633868 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 23 Feb 2022 17:25:36 -0800 Subject: Drop unnecessary obsoletes Since initscripts requires these packages anyway, the obsoletes aren't necessary. They're only useful if you split off a new subpackage and *don't* have the main package require it, but you still want it to be installed on updates. In this case, initscripts requires both initscripts-rename-device and initscripts-service, so there's no need for them to obsolete older versions of it. The initscripts-rename-device obsoletes was somehow messing up live image creation during the openQA update test (caused the live image not to include initscripts at all). This fixes that. Signed-off-by: Adam Williamson (cherry picked from commit 4e39c08825a55107a6accf7ad7b4d82ddd30e9ec) Related: #2057917 --- initscripts.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/initscripts.spec b/initscripts.spec index 51d2c17b..2a77a27f 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -54,7 +54,7 @@ BuildRequires: make %{?systemd_requires} BuildRequires: systemd -Obsoletes: %{name} < 10.10-1 +Obsoletes: %{name} < 10.16-1 # === PATCHES ================================================================= @@ -95,8 +95,6 @@ Summary: Udev helper utility that provides network interface naming %shared_requirements -Obsoletes: %{name} < 10.16-1 - %description -n initscripts-rename-device Udev helper utility that provides network interface naming @@ -112,8 +110,6 @@ Requires: systemd Provides: /sbin/service -Obsoletes: %{name} < 10.10-1 - %description -n initscripts-service This package provides service command. -- cgit v1.2.1