aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2017-11-03 14:13:29 +0100
committerDee'Kej <deekej@linuxmail.org>2017-11-03 14:15:27 +0100
commit5285c3ae33f38a010ee76e5d3c4363045d65717d (patch)
tree4cef47f0f64f039670699898a53ed2da11cae1b6
parent4da9dbaffba4af74eb632d1a5d10e5c366475516 (diff)
downloadinitscripts-5285c3ae33f38a010ee76e5d3c4363045d65717d.tar
initscripts-5285c3ae33f38a010ee76e5d3c4363045d65717d.tar.gz
initscripts-5285c3ae33f38a010ee76e5d3c4363045d65717d.tar.bz2
initscripts-5285c3ae33f38a010ee76e5d3c4363045d65717d.tar.xz
initscripts-5285c3ae33f38a010ee76e5d3c4363045d65717d.zip
specfile: require 'redhat-release' instead of /etc/system-release
Also, add a conflict for older versions of 'redhat-release'. Using them would cause unbootable system most likely...
-rw-r--r--initscripts.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 9e8a4230..28698870 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -22,8 +22,8 @@ Conflicts: lvm2 < 2.02.100-5
Conflicts: dmraid < 1.0.0.rc16-18
Requires: systemd
Requires: iproute, /sbin/arping, findutils
-# Not strictly required, but nothing else requires it
-Requires: /etc/system-release
+Requires: redhat-release
+Conflicts: redhat-release < 7.5-0.11
Requires: udev >= 125-1
Requires: cpio
Requires: hostname