Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package cpupower for openSUSE:Factory checked in at 2024-04-29 17:57:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cpupower (Old)
and /work/SRC/openSUSE:Factory/.cpupower.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cpupower"
Mon Apr 29 17:57:57 2024 rev:60 rq:1170687 version:MACRO
Changes:
--------
--- /work/SRC/openSUSE:Factory/cpupower/cpupower.changes 2024-02-29 21:52:18.942284746 +0100
+++ /work/SRC/openSUSE:Factory/.cpupower.new.1880/cpupower.changes 2024-04-29 17:58:04.658784938 +0200
@@ -1,0 +2,6 @@
+Mon Apr 15 12:57:13 UTC 2024 - Thomas Renninger
+
+- Parse turbostat and intel-speed-select version from kernel sources and
+ add them to %description
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cpupower.spec ++++++
--- /var/tmp/diff_new_pack.trEXhx/_old 2024-04-29 17:58:05.190804289 +0200
+++ /var/tmp/diff_new_pack.trEXhx/_new 2024-04-29 17:58:05.194804434 +0200
@@ -1,7 +1,7 @@
#
# spec file for package cpupower
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,6 +22,8 @@
%define ssdir tools/power/x86/intel-speed-select
# Use this as version when things are in mainline kernel
%define version %(rpm -q --qf '%%{VERSION}' kernel-source)
+%global turbover %(grep -o "turbostat version [0-9.]*" %{_prefix}/src/linux/tools/power/x86/turbostat/turbostat.c)
+%global issver %(grep -o "version_str =.*" %{_prefix}/src/linux/tools/power/x86/intel-speed-select/isst-config.c | grep -o "[0-9]\.[0-9][0-9]")
Name: cpupower
Version: %{version}
Release: 0
@@ -42,6 +44,9 @@
%description
This tool accesses the Linux kernel's processor power subsystems
like CPU frequency switching (cpufreq) or CPU sleep states (cpuidle).
+Also part of the package are:
+%turbover
+intel-speed-select %issver
%package -n libcpupower1
Summary: Processor power related C-library