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
This commit is contained in:
Ismail Dönmez 2015-12-15 16:55:33 +00:00 committed by Git OBS Bridge
parent f1acb19f9a
commit 57d876a005
2 changed files with 9 additions and 0 deletions

View File

@ -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 Mon Sep 21 12:15:11 UTC 2015 - idonmez@suse.com

View File

@ -75,6 +75,8 @@ BuildRequires: update-desktop-files
BuildRequires: xz BuildRequires: xz
BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(systemd) >= 186 BuildRequires: pkgconfig(systemd) >= 186
Requires(post): coreutils
Requires(postun): coreutils
Requires: %{name}-branding Requires: %{name}-branding
Requires: gnu-unifont-bitmap-fonts Requires: gnu-unifont-bitmap-fonts
Requires: systemd >= 186 Requires: systemd >= 186
@ -426,6 +428,7 @@ fi
[ -x /bin/systemctl ] && /bin/systemctl daemon-reload >/dev/null 2>&1 || : [ -x /bin/systemctl ] && /bin/systemctl daemon-reload >/dev/null 2>&1 || :
%postun %postun
%{?regenerate_initrd_post}
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
rm -f %{_libdir}/plymouth/default.so rm -f %{_libdir}/plymouth/default.so
rm -f /boot/initrd-plymouth.img rm -f /boot/initrd-plymouth.img