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