From 5c1a3b1f1e2e4616cedef690ce2978e16ae979be959bbd0ad80247933bf7c8c2 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 17 May 2024 06:21:25 +0000 Subject: [PATCH] Accepting request 1174614 from home:dimstar:Factory - Use %autosetup macro: allows us to eliminiate usage of deprecated %patchN syntax. OBS-URL: https://build.opensuse.org/request/show/1174614 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cinemagoer?expand=0&rev=3 --- python-cinemagoer.changes | 6 ++++++ python-cinemagoer.spec | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-cinemagoer.changes b/python-cinemagoer.changes index 5a17fcd..0ef322b 100644 --- a/python-cinemagoer.changes +++ b/python-cinemagoer.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 16 14:46:26 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro: allows us to eliminiate usage of deprecated + %patchN syntax. + ------------------------------------------------------------------- Mon Jun 5 14:24:33 UTC 2023 - Ana Guerrero diff --git a/python-cinemagoer.spec b/python-cinemagoer.spec index 375bc72..2491499 100644 --- a/python-cinemagoer.spec +++ b/python-cinemagoer.spec @@ -1,7 +1,7 @@ # # spec file for package python-cinemagoer # -# Copyright (c) 2023 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 @@ -32,7 +32,7 @@ BuildRequires: python-rpm-macros Requires: python-SQLAlchemy Requires: python-lxml Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Provides: python-IMDbPY = %version-%release Obsoletes: python-IMDbPY < %version-%release BuildArch: noarch @@ -46,8 +46,7 @@ cinemagoer can retrieve data from both the IMDb's web server and a local copy of the whole database. %prep -%setup -q -n cinemagoer-%{version} -%patch0 -p1 +%autosetup -p1 -n cinemagoer-%{version} %build %python_build