]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
more spec updates
authorRay Strode <rstrode@redhat.com>
Wed, 11 Jun 2008 18:10:45 +0000 (14:10 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 11 Jun 2008 18:10:45 +0000 (14:10 -0400)
scripts/plymouth.spec

index 16ffc312d0dd1244925ae5e933b919e0df8c060e..a9a310e427cf43db6558a238f765fdf86c923d13 100644 (file)
@@ -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