diff --git a/cpupower.changes b/cpupower.changes index 72f2c69..6cf862e 100644 --- a/cpupower.changes +++ b/cpupower.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 10:55:54 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Nov 20 12:34:46 UTC 2023 - Thomas Renninger diff --git a/cpupower.spec b/cpupower.spec index e807630..3192bb9 100644 --- a/cpupower.spec +++ b/cpupower.spec @@ -99,10 +99,10 @@ 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 +%patch -P 1 -p1 cd %{maindir} -%patch3 -p1 -%patch6 -p1 +%patch -P 3 -p1 +%patch -P 6 -p1 %build CONF="PACKAGE_BUGREPORT=https://bugs.opensuse.org mandir=%{_mandir} libdir=%{_libdir} CPUFRQ_BENCH=true"