rpms/lm_sensors/FC-3 lm_sensors-2.8.7-pwconfig.patch, 1.1, 1.2 lm_sensors.spec, 1.18, 1.19

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Nov 8 14:08:13 UTC 2005


Author: pknirsch

Update of /cvs/dist/rpms/lm_sensors/FC-3
In directory cvs.devel.redhat.com:/tmp/cvs-serv20867/FC-3

Modified Files:
	lm_sensors-2.8.7-pwconfig.patch lm_sensors.spec 
Log Message:
- Fixed lm_sensors pwmconfig patch.


lm_sensors-2.8.7-pwconfig.patch:
 pwmconfig |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

Index: lm_sensors-2.8.7-pwconfig.patch
===================================================================
RCS file: /cvs/dist/rpms/lm_sensors/FC-3/lm_sensors-2.8.7-pwconfig.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- lm_sensors-2.8.7-pwconfig.patch	1 Sep 2005 17:44:27 -0000	1.1
+++ lm_sensors-2.8.7-pwconfig.patch	8 Nov 2005 14:08:09 -0000	1.2
@@ -7,7 +7,7 @@
 -	egrep -v '(INTERVAL|FCTEMPS|FCFANS|MAXTEMP|MINTEMP|MINSTART|MINSTOP)' /etc/fancontrol >/tmp/fancontrol
 -	echo -e "INTERVAL=$INTERVAL\nFCTEMPS=$FCTEMPS\nFCFANS=$FCFANS\nMINTEMP=$MINTEMP\nMAXTEMP=$MAXTEMP\nMINSTART=$MINSTART\nMINSTOP=$MINSTOP" >>/tmp/fancontrol
 -	mv /tmp/fancontrol /etc/fancontrol
-+	tmpfile=`tempfile` || { echo "$0: Cannot create temporary file" >&2; exit 1;  }
++	tmpfile=`mktemp` || { echo "$0: Cannot create temporary file" >&2; exit 1;  }
 +	trap " [ -f \"$tmpfile\" ] && /bin/rm -f -- \"$tmpfile\"" 0 1 2 3 13 15
 +	egrep -v '(INTERVAL|FCTEMPS|FCFANS|MAXTEMP|MINTEMP|MINSTART|MINSTOP)' $FCCONFIG >$tmpfile
 +	echo -e "INTERVAL=$INTERVAL\nFCTEMPS=$FCTEMPS\nFCFANS=$FCFANS\nMINTEMP=$MINTEMP\nMAXTEMP=$MAXTEMP\nMINSTART=$MINSTART\nMINSTOP=$MINSTOP" >>$tmpfile


Index: lm_sensors.spec
===================================================================
RCS file: /cvs/dist/rpms/lm_sensors/FC-3/lm_sensors.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- lm_sensors.spec	1 Sep 2005 17:44:27 -0000	1.18
+++ lm_sensors.spec	8 Nov 2005 14:08:09 -0000	1.19
@@ -1,6 +1,6 @@
 Name: lm_sensors
 Version: 2.8.7
-Release: 2.FC3.1
+Release: 2.FC3.2
 URL: http://secure.netroedge.com/~lm78/
 Source: http://secure.netroedge.com/~lm78/archive/lm_sensors-%{version}.tar.gz
 Source1: lm_sensors.sysconfig
@@ -102,6 +102,9 @@
 %{_libdir}/lib*.so
 
 %changelog
+* Tue Nov 08 2005 Phil Knirsch <pknirsch at redhat.com> 2.8.7-2.FC3.2
+- Fixed lm_sensors pwmconfig patch.
+
 * Tue Aug 30 2005 Phil Knirsch <pknirsch at redhat.com> 2.8.7-2.FC3.1
 - Fixed CAN-2005-2672 lm_sensors pwmconfig insecure temporary file usage
   (#166673)




More information about the fedora-cvs-commits mailing list