cpupower: Bump soname version
authorBen Hutchings <ben@decadent.org.uk>
Sun, 19 May 2019 16:17:33 +0000 (17:17 +0100)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 26 Sep 2019 12:19:06 +0000 (13:19 +0100)
Several functions in the libcpupower API were renamed or removed in
Linux 4.7, and again in 5.1.  This is a backward-incompatible ABI
change, so the library soname should change from libcpupower.so.0 to
libcpupower.so.2.

Fixes: ac5a181d065d ("cpupower: Add cpuidle parts into library")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name cpupower-bump-soname-version.patch

tools/power/cpupower/Makefile

index 9063fca480b32d0bb49fd6fa04e4c2515022c207..071fb4df0a376636f426b082b2d1417bd329be9b 100644 (file)
@@ -53,8 +53,8 @@ DESTDIR ?=
 # and _should_ modify the PACKAGE_BUGREPORT definition
 
 VERSION=                       $(shell ./utils/version-gen.sh)
-LIB_MAJ=                       0.0.1
-LIB_MIN=                       0
+LIB_MAJ=                       2.0.1
+LIB_MIN=                       2
 
 PACKAGE =                      cpupower
 PACKAGE_BUGREPORT =            linux-pm@vger.kernel.org