From c0b256ba486d5115dbf08928bd8c030ec56898dc642baf3019d6bf4a38b7f3b1 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 19 Dec 2018 14:50:11 +0000 Subject: [PATCH] - lm_sensors-3.5.0-libsensors-fix-soname.patch: Undo the SENSORS_API_VERSION change, to stay source-compatible with upstream. - Mention bsc#1108468 in the changes file OBS-URL: https://build.opensuse.org/package/show/Base:System/sensors?expand=0&rev=106 --- lm_sensors-3.5.0-libsensors-fix-soname.patch | 34 +++----------------- sensors.changes | 13 ++++++-- sensors.spec | 2 +- 3 files changed, 17 insertions(+), 32 deletions(-) diff --git a/lm_sensors-3.5.0-libsensors-fix-soname.patch b/lm_sensors-3.5.0-libsensors-fix-soname.patch index 561f95d..e489886 100644 --- a/lm_sensors-3.5.0-libsensors-fix-soname.patch +++ b/lm_sensors-3.5.0-libsensors-fix-soname.patch @@ -1,5 +1,5 @@ From: Jean Delvare -Subject: libsensors: Undo excessive API version bump +Subject: libsensors: Undo gratuitous library version bump The new library is compatible with previous versions, it only has added symbols, no changes nor removals. So the major version number @@ -7,24 +7,11 @@ shall stay the same. Signed-off-by: Jean Delvare --- - doc/libsensors-API.txt | 2 +- - lib/Module.mk | 4 ++-- - lib/sensors.h | 2 +- - 3 files changed, 4 insertions(+), 4 deletions(-) + lib/Module.mk | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) ---- lm-sensors-3-5-0.orig/doc/libsensors-API.txt 2018-11-23 18:05:48.000000000 +0100 -+++ lm-sensors-3-5-0/doc/libsensors-API.txt 2018-12-16 13:17:38.849215990 +0100 -@@ -6,7 +6,7 @@ over time. This document summarizes thes - authors can quickly figure out how to test for the availability of a - given new feature. - --0x500 lm-sensors 3.5.0 -+0x450 lm-sensors 3.5.0 - * Added support for power min, lcrit, min_alarm and lcrit_alarm - enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_MIN - enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_LCRIT ---- lm-sensors-3-5-0.orig/lib/Module.mk 2018-11-23 18:05:48.000000000 +0100 -+++ lm-sensors-3-5-0/lib/Module.mk 2018-12-16 13:17:00.255735414 +0100 +--- a/lib/Module.mk ++++ b/lib/Module.mk @@ -32,8 +32,8 @@ LIBMAN5FILES := $(MODULE_DIR)/sensors.co # The library soname (major number) must be changed if and only if the interface is # changed in a backward incompatible way. The interface is defined by @@ -36,14 +23,3 @@ Signed-off-by: Jean Delvare LIBVER := $(LIBMAINVER).$(LIBMINORVER) # The static lib name, the shared lib name, and the internal ('so') name of ---- lm-sensors-3-5-0.orig/lib/sensors.h 2018-11-23 18:05:48.000000000 +0100 -+++ lm-sensors-3-5-0/lib/sensors.h 2018-12-16 13:16:45.113546854 +0100 -@@ -31,7 +31,7 @@ - when the API or ABI breaks), the third digit is incremented to track small - API additions like new flags / enum values. The second digit is for tracking - larger additions like new methods. */ --#define SENSORS_API_VERSION 0x500 -+#define SENSORS_API_VERSION 0x450 - - #define SENSORS_CHIP_NAME_PREFIX_ANY NULL - #define SENSORS_CHIP_NAME_ADDR_ANY (-1) diff --git a/sensors.changes b/sensors.changes index f92a11a..8405cbc 100644 --- a/sensors.changes +++ b/sensors.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Dec 19 14:47:35 UTC 2018 - jdelvare@suse.com + +- lm_sensors-3.5.0-libsensors-fix-soname.patch: Undo the + SENSORS_API_VERSION change, to stay source-compatible with + upstream. + ------------------------------------------------------------------- Sun Dec 16 12:19:48 UTC 2018 - jdelvare@suse.com @@ -56,8 +63,10 @@ Sat Nov 24 01:08:57 UTC 2018 - malcolmlewis@opensuse.org + fancontrol: replaced deprecated sub shell syntax, save original pwm values. + fancontrol.8: replaced deprecated sub shell syntax. - + libsensors: Add support for SENSORS_BUS_TYPE_SCSI, add support - for power min, lcrit, min_alarm, lcrit_alarm + + libsensors: + * Add support for SENSORS_BUS_TYPE_SCSI, add support + for power min, lcrit, min_alarm, lcrit_alarm. + * Handle hwmon device with thermal device parent (bsc#1108468). - Rebase lm_sensors-3.0.3-hint-at-kernel-extra-package.patch for new release. - Spec file tidy up for man page extension. diff --git a/sensors.spec b/sensors.spec index 1a037cb..2c5ad9f 100644 --- a/sensors.spec +++ b/sensors.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ #