From e76066c08abb7b00e7c6dc57b4a0379d529e167fcc9808587e9e1663bc73dd0c Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Tue, 15 Dec 2015 21:29:36 +0000 Subject: [PATCH] Accepting request 349009 from home:tiwai:branches:Base:System - Fix missing dependency on coreutils for initrd macros (boo#958562) - Call missing initrd macro at postun (boo#958562) OBS-URL: https://build.opensuse.org/request/show/349009 OBS-URL: https://build.opensuse.org/package/show/Base:System/dmraid?expand=0&rev=49 --- dmraid.changes | 6 ++++++ dmraid.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dmraid.changes b/dmraid.changes index 18406ef..1b672bc 100644 --- a/dmraid.changes +++ b/dmraid.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 10 16:08:28 CET 2015 - tiwai@suse.de + +- Fix missing dependency on coreutils for initrd macros (boo#958562) +- Call missing initrd macro at postun (boo#958562) + ------------------------------------------------------------------- Mon Jul 13 09:33:56 UTC 2015 - lwang@suse.com diff --git a/dmraid.spec b/dmraid.spec index e9e061e..8673a4b 100644 --- a/dmraid.spec +++ b/dmraid.spec @@ -1,7 +1,7 @@ # # spec file for package dmraid # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -27,6 +27,8 @@ BuildRequires: zlib-devel Requires: aaa_base Requires: kpartx +Requires(post): coreutils +Requires(postun): coreutils Url: http://people.redhat.com/~heinzm/sw/dmraid/src/ Summary: A Device-Mapper Software RAID Support Tool License: GPL-2.0 @@ -142,6 +144,7 @@ chmod -x %{buildroot}%{_prefix}/include/dmraid/*h %postun /sbin/ldconfig %service_del_postun dmraid-activation.service +%{?regenerate_initrd_post} %{insserv_cleanup}