aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2018-06-13 14:54:55 +0200
committerDee'Kej <deekej@linuxmail.org>2018-06-14 16:11:54 +0200
commitaf37def6b2ea5f72b4b79d4b7d1a7cfc4a7eae3b (patch)
treee6742ff253761d9d9b5233b2ce08475feea34d85
parent057dff7fb667abdfb7e654ee8657a8afb85b5a68 (diff)
downloadinitscripts-af37def6b2ea5f72b4b79d4b7d1a7cfc4a7eae3b.tar
initscripts-af37def6b2ea5f72b4b79d4b7d1a7cfc4a7eae3b.tar.gz
initscripts-af37def6b2ea5f72b4b79d4b7d1a7cfc4a7eae3b.tar.bz2
initscripts-af37def6b2ea5f72b4b79d4b7d1a7cfc4a7eae3b.tar.xz
initscripts-af37def6b2ea5f72b4b79d4b7d1a7cfc4a7eae3b.zip
specfile: obsoletes on previous version of initscripts package added
This makes sure all the subpackages stay installed during the upgrade for Fedora users. After that users will be able to manually remove the packages if needed... Fresh installations will have only initscripts installed.
-rw-r--r--initscripts.spec8
1 files changed, 8 insertions, 0 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 1d6b0cc5..da0b9a36 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -55,6 +55,8 @@ BuildRequires: systemd
Provides: /sbin/service
+Obsoletes: %{name} < 9.82-2
+
Conflicts: dmraid < 1.0.0.rc16-18
Conflicts: ipsec-tools < 0.8.0-2
Conflicts: lvm2 < 2.02.98-3
@@ -120,6 +122,8 @@ Requires(preun): chkconfig
Requires(post): %{_sbindir}/update-alternatives
Requires(postun): %{_sbindir}/update-alternatives
+Obsoletes: %{name} < 9.82-2
+
%description -n network-scripts
This package contains the legacy scripts for activating & deactivating of most
network interfaces. It also provides a legacy version of 'network' service.
@@ -153,6 +157,8 @@ Requires: kmod
Requires: sed
Requires: util-linux
+Obsoletes: %{name} < 9.82-2
+
%description -n netconsole-service
This packages provides a 'netconsole' service for loading of netconsole kernel
module with the configured parameters. The netconsole kernel module itself then
@@ -175,6 +181,8 @@ Requires: iproute
Requires: ipcalc
Requires: util-linux
+Obsoletes: %{name} < 9.82-2
+
%description -n readonly-root
This package provides script & configuration file for setting up read-only root
support. Additional configuration is required after installation.