From ae0a0bb856d6aee1840e82c74ad90ea83ea26b32482c0abfe0676a42aa58f3e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Tesa=C5=99=C3=ADk?= Date: Sat, 11 Mar 2017 18:37:00 +0000 Subject: [PATCH] Accepting request 458871 from home:kukuk:branches:Kernel:kdump - Don't require insserv if we use systemd OBS-URL: https://build.opensuse.org/request/show/458871 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=124 --- kdump.changes | 5 +++++ kdump.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/kdump.changes b/kdump.changes index bc88841..a15ffe6 100644 --- a/kdump.changes +++ b/kdump.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Feb 18 14:38:57 CET 2017 - kukuk@suse.de + +- Don't require insserv if we use systemd + ------------------------------------------------------------------- Wed Oct 5 13:12:53 UTC 2016 - ptesarik@suse.com diff --git a/kdump.spec b/kdump.spec index b036c07..bcb81c7 100644 --- a/kdump.spec +++ b/kdump.spec @@ -1,7 +1,7 @@ # # spec file for package kdump # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -58,7 +58,7 @@ Requires: curl Requires: kexec-tools Requires: makedumpfile Requires: openssh -PreReq: %insserv_prereq %fillup_prereq +PreReq: %fillup_prereq PreReq: coreutils PreReq: sed Recommends: cifs-utils @@ -70,6 +70,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch: s390 ppc %if %{systemd_present} BuildRequires: systemd +%else +PreReq: %insserv_prereq %endif %if 0%{?suse_version} > 1310 PreReq: dracut