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}