diff --git a/cpupower.changes b/cpupower.changes index a773aba..36c282f 100644 --- a/cpupower.changes +++ b/cpupower.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Jul 5 09:02:11 UTC 2022 - Thomas Renninger + +- Remove powercap capabilities to patch againt latest kernel sources + -> still keep the patches, will be removed after trying to get this + mainline +- Add netlink (libnl-devel) requires +- Devel package should be noarch + ------------------------------------------------------------------- Fri Apr 8 14:57:24 UTC 2022 - Dirk Müller diff --git a/cpupower.spec b/cpupower.spec index 054154f..c1db284 100644 --- a/cpupower.spec +++ b/cpupower.spec @@ -24,18 +24,20 @@ %define version %(rpm -q --qf '%%{VERSION}' kernel-source) Name: cpupower Version: %{version} +#Version: 5.19 Release: 0 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_rapl.patch -Patch2: rapl_monitor.patch +#Patch1: cpupower_rapl.patch +#Patch2: rapl_monitor.patch Patch3: cpupower_exclude_kernel_Makefile.patch Patch6: amd_do_not_show_amount_of_boost_states_if_zero.patch BuildRequires: gettext-tools BuildRequires: kernel-source BuildRequires: libcap-devel +BuildRequires: libnl-devel BuildRequires: pciutils BuildRequires: pciutils-devel @@ -89,8 +91,8 @@ There is no reason to install this package. (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} -%patch1 -p1 -%patch2 -p1 +#%%patch1 -p1 +#%%patch2 -p1 %patch3 -p1 %patch6 -p1 @@ -152,7 +154,7 @@ mv %{buildroot}//%{_docdir}/%{name}/cpufreq-bench_script.sh %{buildroot}/%{_docd %files devel %{_includedir}/cpufreq.h %{_includedir}/cpuidle.h -%{_includedir}/powercap.h +#%%{_includedir}/powercap.h %{_libdir}/libcpu*.so %files lang -f %{name}.lang