aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Williamson <awilliam@redhat.com>2022-02-23 17:25:36 -0800
committerJan Macku <jamacku@redhat.com>2022-02-24 09:42:38 +0100
commit970211d8ee7bd44a7e34954d95086a1dfd633868 (patch)
tree142d382d78e03f35fbb6a16c8a7068c8fb6198d3
parent46e8938f3daf88820e1d202bc48408c43def5a0f (diff)
downloadinitscripts-970211d8ee7bd44a7e34954d95086a1dfd633868.tar
initscripts-970211d8ee7bd44a7e34954d95086a1dfd633868.tar.gz
initscripts-970211d8ee7bd44a7e34954d95086a1dfd633868.tar.bz2
initscripts-970211d8ee7bd44a7e34954d95086a1dfd633868.tar.xz
initscripts-970211d8ee7bd44a7e34954d95086a1dfd633868.zip
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 <awilliam@redhat.com> (cherry picked from commit 4e39c08825a55107a6accf7ad7b4d82ddd30e9ec) Related: #2057917
-rw-r--r--initscripts.spec6
1 files changed, 1 insertions, 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.