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