From 010646119749c174bf9ba75493ecc416ad6433936cb84bbeb7931e2b8f2b1b73 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 22 Feb 2024 07:21:10 +0000 Subject: [PATCH] - Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN. OBS-URL: https://build.opensuse.org/package/show/graphics/potrace?expand=0&rev=29 --- potrace.changes | 6 ++++++ potrace.spec | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/potrace.changes b/potrace.changes index 1ef5030..8c4f6dc 100644 --- a/potrace.changes +++ b/potrace.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 22 07:20:21 UTC 2024 - Michael Vetter + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Wed Apr 15 14:36:16 UTC 2020 - Martin Pluskal diff --git a/potrace.spec b/potrace.spec index 3a45dd1..46189f4 100644 --- a/potrace.spec +++ b/potrace.spec @@ -1,7 +1,7 @@ # # spec file for package potrace # -# Copyright (c) 2020 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 @@ -66,8 +66,7 @@ image is not "jaggy" like a bitmap, but smooth. It can then be rendered at any resolution. %prep -%setup -q -%patch1 -p1 +%autosetup -p1 %build %define warn_flags -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security