From 997863bdb27a73f4d60880ae810ee9c106c900273f2ef9c9dea02cd95a47d800 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 27 Feb 2024 13:27:11 +0000 Subject: [PATCH] Accepting request 1152160 from home:dimstar:rpm4.20:g Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1152160 OBS-URL: https://build.opensuse.org/package/show/games/gnugo?expand=0&rev=5 --- gnugo.changes | 6 ++++++ gnugo.spec | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gnugo.changes b/gnugo.changes index 23631bc..a189045 100644 --- a/gnugo.changes +++ b/gnugo.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 27 11:04:50 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Mon Nov 6 16:11:19 UTC 2023 - Dominique Leuenberger diff --git a/gnugo.spec b/gnugo.spec index 70e00a2..a3663c4 100644 --- a/gnugo.spec +++ b/gnugo.spec @@ -40,9 +40,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Chinese ancient board game. %prep -%setup -q -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 %build export CFLAGS="%{optflags} -fcommon"