From 02fa94d5e86ec2b4a1ed1df2f12e5ae07fedc4b69f4e27a6bd112bc67b7ccccb Mon Sep 17 00:00:00 2001 From: Antonio Teixeira Date: Thu, 7 Mar 2024 20:40:09 +0000 Subject: [PATCH] Accepting request 1153318 from home:dimstar:rpm4.20:p Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1153318 OBS-URL: https://build.opensuse.org/package/show/hardware/powerman?expand=0&rev=50 --- powerman.changes | 6 ++++++ powerman.spec | 6 +----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/powerman.changes b/powerman.changes index 0736cd2..0fae1d7 100644 --- a/powerman.changes +++ b/powerman.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 29 14:48:34 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Fri Apr 28 17:36:06 UTC 2023 - Antonio Teixeira diff --git a/powerman.spec b/powerman.spec index 917e3a8..e17940e 100644 --- a/powerman.spec +++ b/powerman.spec @@ -81,11 +81,7 @@ Requires: libpowerman0 = %{version} Header files, pkg-config file and man pages for developing applications using PowerMan. %prep -%setup -q -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 +%autosetup -p1 %build %configure \