From 7f2193364a711044bfd6de7a52dcc11734a7d572 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 15 Sep 2010 16:16:22 -0400 Subject: If we're built with only one of upstart or systemd, force the required implementation to be installed. --- initscripts.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/initscripts.spec b/initscripts.spec index 70315b10..f42cf75f 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -23,10 +23,16 @@ Requires: sysvinit-tools >= 2.87-5 Requires: sysvinit-userspace %if %{_with_upstart} Conflicts: upstart < 0.6.0 +%if ! %{_with_systemd} +Requires: upstart-sysvinit +%endif %endif %if %{_with_systemd} Conflicts: systemd < 9-3 Conflicts: systemd-units < 9-3 +%if ! %{_with_upstart} +Requires: systemd-sysvinit +%endif %endif %if %{_with_sysvinit} Requires: SysVinit >= 2.85-38 -- cgit v1.2.1