From ef1f8fe5700cc8f76af132dacda0d5d71412256a7692293e81c899edb5924b55 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Thu, 29 Feb 2024 15:53:04 +0000 Subject: [PATCH] Accepting request 1151150 from home:dimstar:rpm4.20:c Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1151150 OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=134 --- cpupower.changes | 5 +++++ cpupower.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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"