From 6e3ab00f0f5b9fb4c9b2c016660ce157f3b809069d9fa6195060b9d7eeb31282 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 21 Feb 2024 07:07:28 +0000 Subject: [PATCH] - Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN. OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/screengrab?expand=0&rev=45 --- screengrab.changes | 6 ++++++ screengrab.spec | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/screengrab.changes b/screengrab.changes index 9c20086..5c4a71f 100644 --- a/screengrab.changes +++ b/screengrab.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 21 07:04:52 UTC 2024 - Michael Vetter + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Mon Nov 6 03:15:03 UTC 2023 - Shawn Dunn diff --git a/screengrab.spec b/screengrab.spec index 450af46..25b7ef2 100644 --- a/screengrab.spec +++ b/screengrab.spec @@ -1,7 +1,7 @@ # # spec file for package screengrab # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -54,8 +54,7 @@ Screenshot taker with the ability to publish them via hosting services. %lang_package %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build %cmake