From ce878f5e652d37e7adfa2bc4b070962e2b5cb1427eafdd6342e927f23d3b5065 Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Tue, 20 Feb 2024 09:59:17 +0000 Subject: [PATCH] Accepting request 1147726 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/1147726 OBS-URL: https://build.opensuse.org/package/show/utilities/ack?expand=0&rev=40 --- ack.changes | 6 ++++++ ack.spec | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ack.changes b/ack.changes index 4dfa663..89792d7 100644 --- a/ack.changes +++ b/ack.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 20 09:58:05 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Wed Mar 1 20:32:18 UTC 2023 - Andreas Stieger diff --git a/ack.spec b/ack.spec index b295007..fc01f69 100644 --- a/ack.spec +++ b/ack.spec @@ -62,9 +62,7 @@ App::Ack is a grep-like tool tailored to working with large trees of source code. %prep -%setup -q -n %{name}-v%{version} -%patch1 -p1 -%patch3 -p1 +%autosetup -p1 -n %{name}-v%{version} %build perl Makefile.PL