From b6974357608956d814fa75178008790ce306da44af4c7f9f817943abc69337a4 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 17 May 2024 06:22:22 +0000 Subject: [PATCH] Accepting request 1174618 from home:dimstar:Factory - Use %autosetup macro: allows us to eliminate usage of deprecated %patchN syntax. OBS-URL: https://build.opensuse.org/request/show/1174618 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-glean-parser?expand=0&rev=5 --- python-glean-parser.changes | 6 ++++++ python-glean-parser.spec | 8 +++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/python-glean-parser.changes b/python-glean-parser.changes index 89f08c2..473ed4e 100644 --- a/python-glean-parser.changes +++ b/python-glean-parser.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 16 14:48:28 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro: allows us to eliminate usage of deprecated + %patchN syntax. + ------------------------------------------------------------------- Tue Dec 27 18:15:46 UTC 2022 - Matej Cepl diff --git a/python-glean-parser.spec b/python-glean-parser.spec index 3f99ddf..f07b47f 100644 --- a/python-glean-parser.spec +++ b/python-glean-parser.spec @@ -1,7 +1,7 @@ # # spec file for package python-glean-parser # -# Copyright (c) 2022 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 @@ -38,7 +38,7 @@ Requires: python-diskcache >= 4 Requires: python-jsonschema >= 3.0.2 Requires: python-yamllint >= 1.18.0 Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Suggests: python-iso8601 >= 0.1.10 BuildArch: noarch # SECTION test requirements @@ -58,9 +58,7 @@ BuildRequires: %{python_module yamllint >= 1.18.0} Parser tools for Mozilla's Glean telemetry %prep -%setup -q -n glean_parser-%{version} -%patch1 -p1 -%patch2 -p1 +%autosetup -p1 -n glean_parser-%{version} %build %python_build