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
This commit is contained in:
Petr Tesařík 2017-03-11 18:37:00 +00:00 committed by Git OBS Bridge
parent fcbd08505e
commit ae0a0bb856
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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