From 9913e17746325298f5271c45534dd932cbf721c77f74ce7989c9c3427372fec7 Mon Sep 17 00:00:00 2001 From: Petr Cerny Date: Mon, 21 Jul 2014 16:02:23 +0000 Subject: [PATCH] Accepting request 241774 from home:posophe:branches:network Do not depend on insserv if the package build with systemd support; it's useless OBS-URL: https://build.opensuse.org/request/show/241774 OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=84 --- openssh.changes | 6 ++++++ openssh.spec | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/openssh.changes b/openssh.changes index b2442ee..3e2689e 100644 --- a/openssh.changes +++ b/openssh.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 21 15:58:09 UTC 2014 - p.drouand@gmail.com + +- Do not depend on insserv if the package build with systemd support; + it's useless + ------------------------------------------------------------------- Sat May 17 22:31:29 UTC 2014 - crrodriguez@opensuse.org diff --git a/openssh.spec b/openssh.spec index 4b058bc..6000213 100644 --- a/openssh.spec +++ b/openssh.spec @@ -85,8 +85,10 @@ BuildRequires: pam-devel %if %{uses_systemd} BuildRequires: pkgconfig(systemd) %{?systemd_requires} +%else +PreReq: %{insserv_prereq} %endif -PreReq: pwdutils %{insserv_prereq} %{fillup_prereq} coreutils +PreReq: pwdutils %{fillup_prereq} coreutils Conflicts: nonfreessh Recommends: xauth Recommends: %{name}-helpers