- lm_sensors-3.1.1-no-ipmisensors-driver: Do not point the user to

the ipmisensors driver which we do not ship (bnc#558756).

OBS-URL: https://build.opensuse.org/package/show/Base:System/sensors?expand=0&rev=9
This commit is contained in:
Jean Delvare 2009-12-04 10:28:22 +00:00 committed by Git OBS Bridge
parent 81da837db8
commit 6b135ab9d2
3 changed files with 55 additions and 2 deletions

View File

@ -0,0 +1,40 @@
From: Jean Delvare <jdelvare@suse.de>
Subject: Don't point the user to the ipmisensors driver
References: bnc#558756
We do not ship the out-of-tree ipmisensors driver, so do not point
the user to that driver.
--- lm_sensors-3.1.1.orig/prog/detect/sensors-detect
+++ lm_sensors-3.1.1/prog/detect/sensors-detect
@@ -1121,12 +1121,12 @@ use vars qw(@i2c_adapter_names);
@ipmi_ifs = (
{
name => "IPMI BMC KCS",
- driver => "ipmisensors",
+ driver => "to-be-written",
isa_addrs => [0x0ca0],
isa_detect => sub { ipmi_detect(@_); },
}, {
name => "IPMI BMC SMIC",
- driver => "ipmisensors",
+ driver => "to-be-written",
isa_addrs => [0x0ca8],
isa_detect => sub { ipmi_detect(@_); },
}
@@ -5127,13 +5127,13 @@ sub ipmi_from_smbios
$if->{type}));
}
print "Success!\n".
- " (confidence 8, driver `ipmisensors')\n";
+ " (confidence 8, driver `to-be-written')\n";
my $new_hash = {
conf => 8,
isa_addr => $if->{addr} || 0,
chipname => $if->{type},
};
- add_isa_to_chips_detected("ipmisensors", $new_hash);
+ add_isa_to_chips_detected("to-be-written", $new_hash);
}
return scalar @ipmi_if;

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Dec 4 11:22:01 CET 2009 - jdelvare@suse.de
- lm_sensors-3.1.1-no-ipmisensors-driver: Do not point the user to
the ipmisensors driver which we do not ship (bnc#558756).
-------------------------------------------------------------------
Wed Oct 28 16:49:32 UTC 2009 - crrodriguez@opensuse.org
- devel package must require glibc-devel
-------------------------------------------------------------------
Wed Sep 16 21:28:43 CEST 2009 - jdelvare@suse.de

View File

@ -22,7 +22,7 @@ Name: sensors
BuildRequires: bison flex rrdtool-devel
Url: http://www.lm-sensors.org/
Version: 3.1.1
Release: 2
Release: 3
Summary: Hardware health monitoring for Linux
License: GPL v2 or later
Group: System/Monitoring
@ -37,6 +37,7 @@ Patch4: lm_sensors-3.0.3-hint-at-kernel-extra-package.patch
Patch5: lm_sensors-r5757-LPC47M233-not-supported.patch
Patch6: lm_sensors-r5760-rename-modprobe-conf.patch
Patch7: lm_sensors-r5770-fancontrol-update.patch
Patch8: lm_sensors-3.1.1-no-ipmisensors-driver.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExcludeArch: s390 s390x
@ -109,7 +110,7 @@ Authors:
License: GPL v2 or later
Summary: Hardware health monitoring library
Group: Development/Libraries/C and C++
Requires: libsensors4 = %{version}
Requires: libsensors4 = %{version} glibc-devel
Provides: sensors:/usr/include/sensors/sensors.h
AutoReqProv: on
Conflicts: libsensors3-devel
@ -141,6 +142,7 @@ Authors:
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%build
RPM_OPT_FLAGS="$RPM_OPT_FLAGS"