From e18adf18bd8018dc2e1444e64c466b1b4a37bf2d516183e94cffbe66bca26e19 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Fri, 17 May 2024 08:03:23 +0000 Subject: [PATCH] Accepting request 1174636 from home:dimstar:Factory - Use %autosetup macro: allows us to eliminate usage of deprecated %patchN syntax. OBS-URL: https://build.opensuse.org/request/show/1174636 OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=24 --- python-pybtex.changes | 6 ++++++ python-pybtex.spec | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-pybtex.changes b/python-pybtex.changes index 6d12f22..bbcda12 100644 --- a/python-pybtex.changes +++ b/python-pybtex.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 16 15:09:04 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro: allows us to eliminate usage of deprecated + %patchN syntax. + ------------------------------------------------------------------- Tue Mar 7 08:29:25 UTC 2023 - pgajdos@suse.com diff --git a/python-pybtex.spec b/python-pybtex.spec index da1e697..67f2587 100644 --- a/python-pybtex.spec +++ b/python-pybtex.spec @@ -1,7 +1,7 @@ # # spec file for package python-pybtex # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2010 Guido Berhoerster. # # All modifications and additions to the file contributed by third parties @@ -40,7 +40,7 @@ BuildRequires: python-rpm-macros Requires: python-latexcodec Requires: python-pyparsing Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -55,8 +55,7 @@ Furthermore, Pybtex provides an interface for Python applications which need to process the above formats. %prep -%setup -q -n %{oname}-%{version} -%patch0 -p1 +%autosetup -p1 -n %{oname}-%{version} %build %python_build