Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cpupower for openSUSE:Factory checked in at 2022-04-11 23:48:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cpupower (Old) and /work/SRC/openSUSE:Factory/.cpupower.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cpupower" Mon Apr 11 23:48:50 2022 rev:54 rq:968359 version:MACRO Changes: -------- --- /work/SRC/openSUSE:Factory/cpupower/cpupower.changes 2022-02-24 18:24:13.878646322 +0100 +++ /work/SRC/openSUSE:Factory/.cpupower.new.1900/cpupower.changes 2022-04-11 23:50:18.846337646 +0200 @@ -1,0 +2,5 @@ +Fri Apr 8 14:57:24 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- add rebuild subpackage to trigger rebuild on kernel updates + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cpupower.spec ++++++ --- /var/tmp/diff_new_pack.Rm05wV/_old 2022-04-11 23:50:19.358331805 +0200 +++ /var/tmp/diff_new_pack.Rm05wV/_new 2022-04-11 23:50:19.362331759 +0200 @@ -1,8 +1,7 @@ # # spec file for package cpupower # -# Copyright (c) 2021 SUSE LLC -# Author: Thomas Renninger <tr...@suse.de> +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +15,14 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define maindir tools/power/cpupower %define tsdir tools/power/x86/turbostat %define pbdir tools/power/x86/x86_energy_perf_policy %define ssdir tools/power/x86/intel-speed-select - -Name: cpupower # Use this as version when things are in mainline kernel %define version %(rpm -q --qf '%%{VERSION}' kernel-source) +Name: cpupower Version: %{version} Release: 0 Summary: Tools to determine and set CPU Power related Settings @@ -34,8 +33,8 @@ Patch2: rapl_monitor.patch Patch3: cpupower_exclude_kernel_Makefile.patch Patch6: amd_do_not_show_amount_of_boost_states_if_zero.patch -BuildRequires: kernel-source BuildRequires: gettext-tools +BuildRequires: kernel-source BuildRequires: libcap-devel BuildRequires: pciutils BuildRequires: pciutils-devel @@ -72,13 +71,24 @@ For that purpose, it compares the performance governor to a configured powersave module. +%package rebuild +Summary: Empty package to ensure rebuilding cpupower in OBS +Group: System/Monitoring +%requires_eq kernel-source + +%description rebuild +This is empty package that ensures cpupower is rebuilt every time +kernel-default is rebuilt in OBS. + +There is no reason to install this package. + %lang_package %prep # 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 -cd %maindir +cd %{maindir} %patch1 -p1 %patch2 -p1 %patch3 -p1 @@ -147,4 +157,7 @@ %files lang -f %{name}.lang +%files rebuild +%license COPYING + %changelog