Accepting request 1127698 from home:trenn:branches:hardware

- Fix library file version: libcpupower.so.0.0.1 -> libcpupower.so.1.0.1
A cpupower_fix_library_so_name.patch

OBS-URL: https://build.opensuse.org/request/show/1127698
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=130
This commit is contained in:
Thomas Renninger 2023-11-20 12:41:42 +00:00 committed by Git OBS Bridge
parent 45b66d1cb4
commit 254583749f
3 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 20 12:34:46 UTC 2023 - Thomas Renninger <trenn@suse.de>
- Fix library file version: libcpupower.so.0.0.1 -> libcpupower.so.1.0.1
A cpupower_fix_library_so_name.patch
-------------------------------------------------------------------
Wed Nov 15 12:57:54 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -29,6 +29,7 @@ Summary: Tools to determine and set CPU Power related Settings
License: GPL-2.0-only
Group: System/Base
URL: https://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git
Patch1: cpupower_fix_library_so_name.patch
Patch3: cpupower_exclude_kernel_Makefile.patch
Patch6: amd_do_not_show_amount_of_boost_states_if_zero.patch
BuildRequires: gettext-tools
@ -98,6 +99,7 @@ There is no reason to install this package.
# copy necessary files from kernel-source since we need to modify them
(cd %{_prefix}/src/linux ; tar -cf - COPYING CREDITS README tools include scripts Kbuild Makefile arch/*/{include,lib,Makefile} lib) | tar -xf -
chmod +x tools/power/cpupower/utils/version-gen.sh
%patch1 -p1
cd %{maindir}
%patch3 -p1
%patch6 -p1

View File

@ -0,0 +1,13 @@
diff --git a/tools/power/cpupower/Makefile b/tools/power/cpupower/Makefile
index b53753dee02f..0d6782c78a9a 100644
--- a/tools/power/cpupower/Makefile
+++ b/tools/power/cpupower/Makefile
@@ -52,7 +52,7 @@ DESTDIR ?=
# and _should_ modify the PACKAGE_BUGREPORT definition
VERSION:= $(shell ./utils/version-gen.sh)
-LIB_MAJ= 0.0.1
+LIB_MAJ= 1.0.1
LIB_MIN= 1
PACKAGE = cpupower