From 00718e5aa292c1e7ed783aa0892b6b847155b774c3a7c6629346c1931b63763b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 21 Feb 2024 10:19:07 +0000 Subject: [PATCH] Accepting request 1147729 from home:dimstar:rpm4.20:a - Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN. OBS-URL: https://build.opensuse.org/request/show/1147729 OBS-URL: https://build.opensuse.org/package/show/Base:System/acpid?expand=0&rev=108 --- acpid.changes | 6 ++++++ acpid.spec | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/acpid.changes b/acpid.changes index bce5e7d..738d68f 100644 --- a/acpid.changes +++ b/acpid.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 20 09:59:08 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Sun Apr 9 10:14:44 UTC 2023 - Stefan Seyfried diff --git a/acpid.spec b/acpid.spec index e465045..ed7e46a 100644 --- a/acpid.spec +++ b/acpid.spec @@ -1,7 +1,7 @@ # # spec file for package acpid # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -44,8 +44,7 @@ executes programs to handle the event. The start script loads all needed modules. %prep -%setup -q -%patch1 +%autosetup cp -p %{SOURCE3} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE9} %{SOURCE10} %{SOURCE11} . # libexecdir is different in factory that in 15.x