rpms/pm-utils/F-8 pm-utils.spec,1.86,1.87

Till Maas (till) fedora-extras-commits at redhat.com
Mon Jun 9 20:51:09 UTC 2008


Author: till

Update of /cvs/pkgs/rpms/pm-utils/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28755

Modified Files:
	pm-utils.spec 
Log Message:
- Make %post restorecon scriptlet exit always with a return value of 0



Index: pm-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pm-utils/F-8/pm-utils.spec,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- pm-utils.spec	18 May 2008 17:14:07 -0000	1.86
+++ pm-utils.spec	9 Jun 2008 20:50:27 -0000	1.87
@@ -111,7 +111,7 @@
 fi
 if [ -f %{_localstatedir}/log/pm-suspend.log ] ; then
 	chmod 0600 %{_localstatedir}/log/pm-suspend.log
-	[ -x /sbin/restorecon ] && restorecon  %{_localstatedir}/log/pm-suspend.log > /dev/null 2>&1
+	[ -x /sbin/restorecon ] && restorecon  %{_localstatedir}/log/pm-suspend.log > /dev/null 2>&1 ||:
 fi
 
 
@@ -150,7 +150,7 @@
 %ghost %verify(not md5 size mtime) %{_localstatedir}/log/pm-suspend.log
 
 %changelog
-* Sun May 18 2008 Till Maas <opensource till name> - 0.99.4-18
+* Sun Jun 09 2008 Till Maas <opensource till name> - 0.99.4-18
 - Add patch by Jeremy Katz <katzj at redhat.com> that was dropped by accident,
   (Red Hat Bugzilla #446546):
 - Original changelog for the patch:
@@ -158,6 +158,7 @@
   using the nv driver based on testing results.  Can be overriden if you	 
   know your machine works by setting ALLOW_NV_SUSPEND="yes" in a file
   in /etc/pm/config.d/
+- Make %%post restorecon scriptlet exit always with a return value of 0
 
 * Sat Apr 19 2008 Till Maas <opensource till name> - 0.99.4-17
 - remove hd-apm script for Fedora 8 and 7




More information about the fedora-extras-commits mailing list