diff --git a/lm_sensors.spec b/lm_sensors.spec index 5ac1bf5..4ed7a49 100644 --- a/lm_sensors.spec +++ b/lm_sensors.spec @@ -1,6 +1,6 @@ Name: lm_sensors Version: 2.9.1 -Release: 3 +Release: 4 URL: http://secure.netroedge.com/~lm78/ Source: http://secure.netroedge.com/~lm78/archive/lm_sensors-%{version}.tar.gz Source1: lm_sensors.sysconfig @@ -13,6 +13,7 @@ Patch5: lm_sensors-2.8.3-local.patch Patch6: lm_sensors-2.8.3-rpath.patch Patch7: lm_sensors-2.8.7-udev.patch Patch8: lm_sensors-2.9.1-kernel26.patch +Patch9: lm_sensors-2.9.1-pwconfig.patch Summary: Hardware monitoring tools. Group: Applications/System License: GPL @@ -45,10 +46,12 @@ when building applications that make use of sensor data. %patch6 -p1 -b .rpath %patch7 -p1 -b .udev %patch8 -p1 -b .kernel26 +%patch9 -p1 -b .pwconfig %build mkdir -p kernel/include/linux ln -sf /usr/include/linux/* kernel/include/linux +export CFLAGS="%{optflags}" make prefix=/usr exec_prefix=/usr bindir=/usr/bin sbindir=/usr/sbin sysconfdir=/etc datadir=/usr/share includedir=/usr/include libdir=%{_libdir} libexecdir=/usr/libexec localstatedir=/var sharedstatedir=/usr/com mandir=/usr/share/man infodir=/usr/share/info user %install @@ -99,6 +102,11 @@ fi %{_libdir}/lib*.so %changelog +* Tue Sep 01 2005 Phil Knirsch 2.9.1-4 +- Fixed CAN-2005-2672 lm_sensors pwmconfig insecure temporary file usage + (#166673) +- Fixed missing optflags during build (#166910) + * Mon May 23 2005 Phil Knirsch 2.9.1-3 - Update to lm_sensors-2.9.1 - Fixed wrong/missing location variables for make user