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"