From 9162726f31322052f2bdf7b6ea57496b474f5a96a0d0e893d38d04f495dbec38 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Tue, 5 Mar 2024 10:49:20 +0000 Subject: [PATCH] Accepting request 1153335 from home:dimstar:rpm4.20:p Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1153335 OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=68 --- patch.changes | 6 ++++++ patch.spec | 15 +-------------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/patch.changes b/patch.changes index 059f82b..6b4d224 100644 --- a/patch.changes +++ b/patch.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 29 14:53:57 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Tue May 24 14:16:43 UTC 2022 - Stephan Kulow diff --git a/patch.spec b/patch.spec index 4de0f95..87145fb 100644 --- a/patch.spec +++ b/patch.spec @@ -53,20 +53,7 @@ The GNU patch program is used to apply diffs between original and changed files (generated by the diff command) to the original files. %prep -%setup -q -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 +%autosetup -p1 %build export CFLAGS="%{optflags} -Wall -O2 -pipe"