From 36e909287e3dc85b353f097412a417b4acceb5813ccdff3458ea12e205f84fb2 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 21 Dec 2015 11:53:09 +0000 Subject: [PATCH] Accepting request 349019 from home:tiwai:branches:security - 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/349019 OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=126 --- cryptsetup.changes | 6 ++++++ cryptsetup.spec | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/cryptsetup.changes b/cryptsetup.changes index 7f44d13..3e0bf6c 100644 --- a/cryptsetup.changes +++ b/cryptsetup.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 10 16:05:57 CET 2015 - tiwai@suse.de + +- Fix missing dependency on coreutils for initrd macros (boo#958562) +- Call missing initrd macro at postun (boo#958562) + ------------------------------------------------------------------- Tue Sep 8 20:19:34 UTC 2015 - asterios.dramis@gmail.com diff --git a/cryptsetup.spec b/cryptsetup.spec index 66c783f..75240a3 100644 --- a/cryptsetup.spec +++ b/cryptsetup.spec @@ -41,6 +41,8 @@ BuildRequires: linux-glibc-devel >= 2.6.38 BuildRequires: pkgconfig BuildRequires: popt-devel BuildRequires: suse-module-tools +Requires(post): coreutils +Requires(postun): coreutils BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -135,6 +137,9 @@ fi %{?regenerate_initrd_post} +%postun +%{?regenerate_initrd_post} + %posttrans %{?regenerate_initrd_posttrans}