rpms/plymouth/devel make-reset-work.patch, NONE, 1.1 plymouth.spec, 1.12, 1.13

Ray Strode (rstrode) fedora-extras-commits at redhat.com
Mon Jun 23 23:34:41 UTC 2008


Author: rstrode

Update of /cvs/pkgs/rpms/plymouth/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17187

Modified Files:
	plymouth.spec 
Added Files:
	make-reset-work.patch 
Log Message:
- Make plymouth-set-default-plugin --reset choose the latest
  installed plugin, not the earliest


make-reset-work.patch:

--- NEW FILE make-reset-work.patch ---
diff -up plymouth-0.4.0/scripts/plymouth-set-default-plugin.make-reset-work plymouth-0.4.0/scripts/plymouth-set-default-plugin
--- plymouth-0.4.0/scripts/plymouth-set-default-plugin.make-reset-work	2008-06-23 19:27:35.000000000 -0400
+++ plymouth-0.4.0/scripts/plymouth-set-default-plugin	2008-06-23 19:27:44.000000000 -0400
@@ -25,7 +25,7 @@ fi
 
 PLUGIN_NAME=$1
 if [ $1 = '--reset' ]; then
-        PLUGIN_NAME=$(basename $(ls -1 -t ${LIBDIR}/plymouth/*.so 2> /dev/null | grep -v default.so | head -n 1) .so)
+        PLUGIN_NAME=$(basename $(ls -1 -t ${LIBDIR}/plymouth/*.so 2> /dev/null | grep -v default.so | tail -n 1) .so)
         if [ $PLUGIN_NAME = .so ]; then
                 rm -f ${LIBDIR}/plymouth/default.so
                 exit 0


Index: plymouth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/plymouth/devel/plymouth.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- plymouth.spec	22 Jun 2008 05:29:51 -0000	1.12
+++ plymouth.spec	23 Jun 2008 23:33:27 -0000	1.13
@@ -1,7 +1,7 @@
 Summary: Plymouth Graphical Boot Animation and Logger
 Name: plymouth
 Version: 0.4.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
@@ -13,6 +13,7 @@
 
 Requires: system-logos >= 9.0.1
 Patch0: fix-harmless-spew.patch
+Patch1: make-reset-work.patch
 
 %description
 Plymouth provides an attractive graphical boot animation in
@@ -64,6 +65,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .fix-harmless-spew
+%patch1 -p1 -b .make-reset-work
 
 %build
 %configure --enable-tracing --disable-tests --without-boot-entry \
@@ -164,6 +166,10 @@
 %{_libdir}/plymouth/spinfinity.so
 
 %changelog
+* Sun Jun 22 2008 Ray Strode <rstrode at redhat.com> - 0.4.0-2
+- Make plymouth-set-default-plugin --reset choose the latest
+  installed plugin, not the earliest
+
 * Sun Jun 22 2008 Ray Strode <rstrode at redhat.com> - 0.4.0-1
 - Update to version 0.4.0
 - Only run if rhgb is on kernel command line




More information about the fedora-extras-commits mailing list