sensors/lm_sensors-3.5.0-libsensors-fix-soname.patch
Jean Delvare c0b256ba48 - 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
2018-12-19 14:50:11 +00:00

26 lines
904 B
Diff

From: Jean Delvare <jdelvare@suse.de>
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
shall stay the same.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
---
lib/Module.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- 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
# the public header files - in this case they are error.h and sensors.h.
-LIBMAINVER := 5
-LIBMINORVER := 0.0
+LIBMAINVER := 4
+LIBMINORVER := 5.0
LIBVER := $(LIBMAINVER).$(LIBMINORVER)
# The static lib name, the shared lib name, and the internal ('so') name of