From 5978bcf2694dbb5168d47970a32e29c4384b023c9e596186d1b7467ead9ea64d Mon Sep 17 00:00:00 2001
From: Michael Vetter <jubalh@iodoru.org>
Date: Wed, 21 Feb 2024 07:12:49 +0000
Subject: [PATCH] - Use %autosetup macro. Allows to eliminate the usage of
 deprecated   %patchN.

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/pcmanfm-qt?expand=0&rev=45
---
 pcmanfm-qt.changes | 6 ++++++
 pcmanfm-qt.spec    | 3 +--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/pcmanfm-qt.changes b/pcmanfm-qt.changes
index 547528d..f842167 100644
--- a/pcmanfm-qt.changes
+++ b/pcmanfm-qt.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Wed Feb 21 07:12:31 UTC 2024 - Michael Vetter <mvetter@suse.com>
+
+- Use %autosetup macro. Allows to eliminate the usage of deprecated
+  %patchN.
+
 -------------------------------------------------------------------
 Sat Feb 10 07:04:38 UTC 2024 - Michael Vetter <mvetter@suse.com>
 
diff --git a/pcmanfm-qt.spec b/pcmanfm-qt.spec
index 915dc3d..02bfe54 100644
--- a/pcmanfm-qt.spec
+++ b/pcmanfm-qt.spec
@@ -54,8 +54,7 @@ PCManFM-Qt is the Qt port of the LXDE file manager PCManFM
 %lang_package
 
 %prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
 
 %build
 %cmake -DPULL_TRANSLATIONS=No