rpms/pm-utils/devel pm-utils.spec,1.97,1.98

Jesse Keating (jkeating) fedora-extras-commits at redhat.com
Tue Apr 15 21:26:23 UTC 2008


Author: jkeating

Update of /cvs/pkgs/rpms/pm-utils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17958

Modified Files:
	pm-utils.spec 
Log Message:
* Tue Apr 15 2008 Jesse Keating <jkeating at redhat.com> - 1.1.0-6
- Don't error on post restorecon call (which can fail if selinux is disabled)



Index: pm-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pm-utils/devel/pm-utils.spec,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -r1.97 -r1.98
--- pm-utils.spec	15 Apr 2008 12:27:47 -0000	1.97
+++ pm-utils.spec	15 Apr 2008 21:25:48 -0000	1.98
@@ -2,7 +2,7 @@
 Summary: Power management utilities and scripts for Fedora
 License: GPLv2
 Version: 1.1.0
-Release: 5%{?dist}
+Release: 6%{?dist}
 Group: System Environment/Base
 URL: http://pm-utils.freedesktop.org
 Requires: usermode kbd pciutils >= 2.2.1
@@ -109,7 +109,7 @@
 touch -a %{_localstatedir}/log/pm-suspend.log
 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
 
 
@@ -156,6 +156,9 @@
 %{_libdir}/pkgconfig/pm-utils.pc
 
 %changelog
+* Tue Apr 15 2008 Jesse Keating <jkeating at redhat.com> - 1.1.0-6
+- Don't error on post restorecon call (which can fail if selinux is disabled)
+
 * Mon Apr 14 2008 Till Maas <opensource till name> - 1.1.0-5
 - remove double %%dir %%{_libdir}/pm-utils
 - update pm-utils-99hd-apm-restore to work with current pm-utils release




More information about the fedora-extras-commits mailing list