From 72ae67490fba99f8c72c9ea8a6b9de84ad489ec6295457cfe59c76206a488af0 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Fri, 8 Mar 2024 10:19:13 +0000 Subject: [PATCH] Accepting request 1156268 from home:dimstar:Factory Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1156268 OBS-URL: https://build.opensuse.org/package/show/games/2048-cli?expand=0&rev=4 --- 2048-cli.changes | 6 ++++++ 2048-cli.spec | 6 ++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/2048-cli.changes b/2048-cli.changes index 934e6de..3936f20 100644 --- a/2048-cli.changes +++ b/2048-cli.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 8 07:46:50 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows us to eliminate the use of + deprecated %patchN. + ------------------------------------------------------------------- Thu Jan 17 15:05:08 UTC 2019 - Jan Engelhardt diff --git a/2048-cli.spec b/2048-cli.spec index 42cb074..6d8049d 100644 --- a/2048-cli.spec +++ b/2048-cli.spec @@ -1,7 +1,7 @@ # # spec file for package 2048-cli # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2019, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -38,9 +38,7 @@ keys in four different directions. When two tiles with the same number touch, they will merge into one. %prep -%setup -q -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 %build export CFLAGS="%{optflags} $(pkg-config --cflags ncurses)"