diff --git a/plymouth-theme-hot-dog.spec b/plymouth-theme-hot-dog.spec index 4e044c3..5fb88f1 100644 --- a/plymouth-theme-hot-dog.spec +++ b/plymouth-theme-hot-dog.spec @@ -2,7 +2,7 @@ %define set_theme %{_sbindir}/plymouth-set-default-theme Name: plymouth-theme-%{themename} Version: 0.5 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Plymouth Happy Hot Dog Theme Group: System Environment/Base @@ -12,7 +12,7 @@ Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: plymouth-plugin-two-step >= 0.7.0 -Requires: plymouth-scripts +Requires(post): plymouth-scripts %description This package contains the Happy Hot Dog boot splash theme for Plymouth. @@ -32,14 +32,10 @@ install -m 0644 %{themename}.plymouth *.png $targetdir %post export LIB=%{_lib} +# on initial install, set this as the new theme if [ $1 -eq 1 ]; then %{set_theme} %{themename} fi -if [ "$(%{set_theme})" == "%{themename}" ]; then - %{_libexecdir}/plymouth/plymouth-generate-initrd &>/dev/null - source /etc/sysconfig/kernel &>/dev/null || : - /sbin/new-kernel-pkg --package ${DEFAULTKERNEL:-kernel} --mkinitrd --depmod --dracut --update $(uname -r) -fi %postun export LIB=%{_lib} @@ -47,9 +43,6 @@ export LIB=%{_lib} if [ $1 -eq 0 ]; then if [ "$(%{set_theme})" == "%{themename}" ]; then %{set_theme} --reset - %{_libexecdir}/plymouth/plymouth-generate-initrd &>/dev/null - source /etc/sysconfig/kernel &>/dev/null || : - /sbin/new-kernel-pkg --package ${DEFAULTKERNEL:-kernel} --mkinitrd --depmod --dracut --update $(uname -r) fi fi @@ -64,6 +57,11 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/plymouth/themes/%{themename}/%{themename}.plymouth %changelog +* Fri Jan 06 2017 Will Woods - 0.5-9 +- Fix scriptlet errors (#1387308); package no longer rebuilds initramfs. +- Removed all traces of ketchup. NO KETCHUP. EVER. +- Make mustard slightly more vinegar-y + * Thu Feb 04 2016 Fedora Release Engineering - 0.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild