This commit is contained in:
parent
e5bcf3e7b1
commit
14583938c5
@ -603,17 +603,3 @@
|
||||
let pwm=$pwm-$STEP
|
||||
done
|
||||
pwmdisable $P
|
||||
--- prog/sensors/main.c
|
||||
+++ prog/sensors/main.c 2007-01-30 17:26:00.000000000 +0100
|
||||
@@ -187,6 +187,11 @@ int main (int argc, char *argv[])
|
||||
exit(0);
|
||||
case 'c':
|
||||
config_file_name = optarg;
|
||||
+ if (!config_file_name || *config_file_name == '\0') {
|
||||
+ fprintf(stderr, "Could not open config file\n");
|
||||
+ perror(config_file_name);
|
||||
+ exit(1);
|
||||
+ }
|
||||
break;
|
||||
case 's':
|
||||
do_sets = 1;
|
||||
|
24
lm_sensors-no-xeon-script.dif
Normal file
24
lm_sensors-no-xeon-script.dif
Normal file
@ -0,0 +1,24 @@
|
||||
Index: Makefile
|
||||
===================================================================
|
||||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -186,7 +186,7 @@ endif
|
||||
endif
|
||||
SRCDIRS += kernel/include
|
||||
SRCDIRS += lib prog/detect prog/dump prog/eeprom prog/pwm \
|
||||
- prog/sensors prog/xeon ${PROG_EXTRA:%=prog/%} etc
|
||||
+ prog/sensors ${PROG_EXTRA:%=prog/%} etc
|
||||
SRCDIRS += lib/test
|
||||
|
||||
# Some often-used commands with default options
|
||||
Index: doc/progs
|
||||
===================================================================
|
||||
--- doc/progs.orig
|
||||
+++ doc/progs
|
||||
@@ -146,5 +146,5 @@ see useful_addresses.html.
|
||||
These scripts gather sensors data and graph the data for web pages.
|
||||
See prog/tellerstats/README for more information.
|
||||
|
||||
-* prog/xeon/decode-xeon.pl (written in Perl, installed by 'make install')
|
||||
+* prog/xeon/decode-xeon.pl (written in Perl, not installed)
|
||||
ID ROM data decoding for Xeon processors.
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 9 09:28:58 CEST 2007 - jdelvare@suse.de
|
||||
|
||||
- lm_sensors-no-xeon-script.patch: The decode-xeon.pl script is
|
||||
outdated. It was never ported to work with 2.6 kernels, so it is
|
||||
of no use on recent Suse distributions. Stop shipping it.
|
||||
- Drop a legacy patch to sensors/main.c related to the
|
||||
configuration file name, which is no longer needed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 4 18:13:40 CEST 2007 - jdelvare@suse.de
|
||||
|
||||
|
10
sensors.spec
10
sensors.spec
@ -14,7 +14,7 @@ Name: sensors
|
||||
BuildRequires: bison flex rrdtool sysfsutils udev
|
||||
URL: http://www.lm-sensors.org/
|
||||
Version: 2.10.3
|
||||
Release: 8
|
||||
Release: 10
|
||||
Summary: Hardware health monitoring for Linux
|
||||
License: GNU General Public License (GPL)
|
||||
Group: System/Monitoring
|
||||
@ -23,6 +23,7 @@ Autoreqprov: on
|
||||
Source0: lm_sensors-2.10.3.tar.bz2
|
||||
Source1: README.SuSE
|
||||
Patch: lm_sensors-2.10.3.dif
|
||||
Patch1: lm_sensors-no-xeon-script.dif
|
||||
Patch2: lm_sensors-2.7.0-kernelheaders.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -50,6 +51,7 @@ Authors:
|
||||
%prep
|
||||
%setup -n lm_sensors-%{version}
|
||||
%patch
|
||||
%patch1
|
||||
%patch2
|
||||
|
||||
%build
|
||||
@ -104,6 +106,12 @@ rm -f $RPM_BUILD_ROOT/usr/src/linux/include/sensors.h
|
||||
%doc /usr/share/man/man8/*.8.gz
|
||||
|
||||
%changelog
|
||||
* Wed May 09 2007 - jdelvare@suse.de
|
||||
- lm_sensors-no-xeon-script.patch: The decode-xeon.pl script is
|
||||
outdated. It was never ported to work with 2.6 kernels, so it is
|
||||
of no use on recent Suse distributions. Stop shipping it.
|
||||
- Drop a legacy patch to sensors/main.c related to the
|
||||
configuration file name, which is no longer needed.
|
||||
* Fri May 04 2007 - jdelvare@suse.de
|
||||
- Don't package outdated driver documentation. The up-to-date
|
||||
driver documentation is in the kernel-source package.
|
||||
|
Loading…
Reference in New Issue
Block a user