From 57d876a005f819d170f53362a9b98f4a4aeb95d9db1b8f042715f22fedc44e20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 15 Dec 2015 16:55:33 +0000 Subject: [PATCH] Accepting request 349014 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/349014 OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=166 --- plymouth.changes | 6 ++++++ plymouth.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/plymouth.changes b/plymouth.changes index 4c53e1b..9ce8d59 100644 --- a/plymouth.changes +++ b/plymouth.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 10 17:15:36 CET 2015 - tiwai@suse.de + +- Fix missing dependency on coreutils for initrd macros (boo#958562) +- Call missing initrd macro at postun (boo#958562) + ------------------------------------------------------------------- Mon Sep 21 12:15:11 UTC 2015 - idonmez@suse.com diff --git a/plymouth.spec b/plymouth.spec index 24f8c8b..f034f94 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -75,6 +75,8 @@ BuildRequires: update-desktop-files BuildRequires: xz BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(systemd) >= 186 +Requires(post): coreutils +Requires(postun): coreutils Requires: %{name}-branding Requires: gnu-unifont-bitmap-fonts Requires: systemd >= 186 @@ -426,6 +428,7 @@ fi [ -x /bin/systemctl ] && /bin/systemctl daemon-reload >/dev/null 2>&1 || : %postun +%{?regenerate_initrd_post} if [ $1 -eq 0 ]; then rm -f %{_libdir}/plymouth/default.so rm -f /boot/initrd-plymouth.img