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