From 1e6025098685b3e37c6494361493eb031ca628e2cc8c1502a3b7a7e159c2aae1 Mon Sep 17 00:00:00 2001
From: Marcus Meissner <meissner@suse.com>
Date: Fri, 1 Mar 2024 13:22:17 +0000
Subject: [PATCH] Accepting request 1153834 from home:pgajdos:l

- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN

OBS-URL: https://build.opensuse.org/request/show/1153834
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libstfl?expand=0&rev=21
---
 libstfl.changes | 6 ++++++
 libstfl.spec    | 4 +---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/libstfl.changes b/libstfl.changes
index 33d2098..a7297e5 100644
--- a/libstfl.changes
+++ b/libstfl.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Fri Mar  1 10:04:25 UTC 2024 - pgajdos@suse.com
+
+- Use %autosetup macro. Allows to eliminate the usage of deprecated
+  %patchN
+
 -------------------------------------------------------------------
 Tue Sep 10 20:31:49 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
 
diff --git a/libstfl.spec b/libstfl.spec
index 345e536..8755368 100644
--- a/libstfl.spec
+++ b/libstfl.spec
@@ -62,9 +62,7 @@ A special language (the Structured Terminal Forms Language) is used to
 describe STFL GUIs.
 
 %prep
-%setup -q -n "stfl-%{version}"
-%patch1
-%patch2
+%autosetup -p0 -n "stfl-%{version}"
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects