summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-06-11 14:10:45 -0400
committerRay Strode <rstrode@redhat.com>2008-06-11 14:10:45 -0400
commitf8aad4fca96680a45fdbe1e71670f6d45fe66658 (patch)
tree54776dbde58a8fe05ba27f3379777267efdfa7f0 /scripts
parent28d7756eb30e736dd6b9b72a56d4b2d0b5332acf (diff)
downloadplymouth-f8aad4fca96680a45fdbe1e71670f6d45fe66658.tar.gz
plymouth-f8aad4fca96680a45fdbe1e71670f6d45fe66658.tar.xz
plymouth-f8aad4fca96680a45fdbe1e71670f6d45fe66658.zip
more spec updates
Diffstat (limited to 'scripts')
-rw-r--r--scripts/plymouth.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/plymouth.spec b/scripts/plymouth.spec
index 16ffc31..a9a310e 100644
--- a/scripts/plymouth.spec
+++ b/scripts/plymouth.spec
@@ -61,7 +61,7 @@ spins in the shape of an infinity sign.
%setup -q
%build
-%configure --enable-tracing --disable-tests --without-boot-entry
+%configure --enable-tracing --disable-tests --without-boot-entry --without-default-plugin
make
@@ -78,6 +78,10 @@ rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
+%preun
+if [ $1 -eq 1 ]; then
+ %{_sbindir}/plymouth-set-default-plugin --reset
+fi
%post plugin-spinfinity
if [ $1 -eq 1 ]; then
@@ -99,6 +103,7 @@ if [ $1 -eq 0 ]; then
%{_sbindir}/plymouth-set-default-plugin --reset
fi
+
%files
%defattr(-, root, root)
%doc AUTHORS NEWS README
@@ -106,6 +111,7 @@ fi
%{_libexecdir}/plymouth/plymouthd
%{_libexecdir}/plymouth/plymouth-update-initrd
%{_libexecdir}/plymouth/plymouth-populate-initrd
+%{_sbindir}/plymouth/plymouth-set-default-plugin
%{_bindir}/plymouth
%{_bindir}/rhgb-client
%{_libdir}/plymouth/details.so