aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2012-04-20 15:18:39 -0400
committerBill Nottingham <notting@redhat.com>2012-04-20 15:18:39 -0400
commitd7fdd57662a29eaa43b36197576da6a8a7067a38 (patch)
tree123c4c5fa3f927d292942118f351e97da01b33c6
parentf4852e09cd32f33b0c496864171d8dc9e85bd0cf (diff)
downloadinitscripts-d7fdd57662a29eaa43b36197576da6a8a7067a38.tar
initscripts-d7fdd57662a29eaa43b36197576da6a8a7067a38.tar.gz
initscripts-d7fdd57662a29eaa43b36197576da6a8a7067a38.tar.bz2
initscripts-d7fdd57662a29eaa43b36197576da6a8a7067a38.tar.xz
initscripts-d7fdd57662a29eaa43b36197576da6a8a7067a38.zip
mingetty is only used in the upstart/sysvinit configs ... move the requirement there.
-rw-r--r--initscripts.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 72c3d180..ec56186b 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -12,7 +12,7 @@ Release: 1%{?dist}
URL: http://fedorahosted.org/releases/i/n/initscripts/
Source: http://fedorahosted.org/releases/i/n/initscripts/initscripts-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-Requires: mingetty, /bin/awk, /bin/sed, coreutils
+Requires: /bin/awk, /bin/sed, coreutils
Requires: /sbin/sysctl
Requires: /sbin/fuser, /bin/grep
Requires: /sbin/pidof, /sbin/blkid
@@ -22,6 +22,7 @@ Requires: bash >= 3.0
Requires: sysvinit-tools >= 2.87-5
%if %{_with_upstart}
Conflicts: upstart < 0.6.0
+Requires: mingetty
%if ! %{_with_systemd}
Requires: upstart-sysvinit
%endif
@@ -35,6 +36,7 @@ Requires: systemd-sysvinit
%endif
%if %{_with_sysvinit}
Requires: SysVinit >= 2.85-38
+Requires: mingetty
%endif
Requires: /sbin/ip, /sbin/arping, /bin/find
Requires: /etc/system-release