diff options
author | Bill Nottingham <notting@redhat.com> | 2010-09-15 16:16:22 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-09-15 16:16:22 -0400 |
commit | 7f2193364a711044bfd6de7a52dcc11734a7d572 (patch) | |
tree | c30294640108e670ae25dbc7d7c7999e385b3406 /initscripts.spec | |
parent | e7d5d1b861f4826d5b564df9a8efff8e7c25fb83 (diff) | |
download | initscripts-7f2193364a711044bfd6de7a52dcc11734a7d572.tar initscripts-7f2193364a711044bfd6de7a52dcc11734a7d572.tar.gz initscripts-7f2193364a711044bfd6de7a52dcc11734a7d572.tar.bz2 initscripts-7f2193364a711044bfd6de7a52dcc11734a7d572.tar.xz initscripts-7f2193364a711044bfd6de7a52dcc11734a7d572.zip |
If we're built with only one of upstart or systemd, force the required implementation to be installed.
Diffstat (limited to 'initscripts.spec')
-rw-r--r-- | initscripts.spec | 6 |
1 files changed, 6 insertions, 0 deletions
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 |