From eb3dc8c2cc455c60391ec88a50ced80cc5820d9a2a9c977dfbeca6529e8fb3ae Mon Sep 17 00:00:00 2001 From: Nicholas Yang Date: Fri, 17 May 2024 05:41:24 +0000 Subject: [PATCH] Accepting request 1174631 from home:dimstar:Factory - Use %autosetup macro: allows us to eliminate usage of deprecated %patchN syntax. OBS-URL: https://build.opensuse.org/request/show/1174631 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parallax?expand=0&rev=48 --- python-parallax.changes | 6 ++++++ python-parallax.spec | 9 ++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/python-parallax.changes b/python-parallax.changes index 690ff98..d1a6451 100644 --- a/python-parallax.changes +++ b/python-parallax.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 16 15:05:01 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro: allows us to eliminate usage of deprecated + %patchN syntax. + ------------------------------------------------------------------- Fri Mar 3 07:13:28 UTC 2023 - XinLiang diff --git a/python-parallax.spec b/python-parallax.spec index 80120e8..d622e1d 100644 --- a/python-parallax.spec +++ b/python-parallax.spec @@ -1,7 +1,7 @@ # # spec file for package python-parallax # -# 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 @@ -36,10 +36,10 @@ Requires: openssh BuildArch: noarch %if 0%{?suse_version} Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives %else Requires(post): %{_sbindir}/update-alternatives -Requires(postun):%{_sbindir}/update-alternatives +Requires(postun): %{_sbindir}/update-alternatives %endif %python_subpackages @@ -49,8 +49,7 @@ nodes at once using SSH. It also provides commands for sending and receiving fil multiple nodes using SCP. %prep -%setup -q -n parallax-%{version} -%patch1 -p1 +%autosetup -p1 -n parallax-%{version} %build %python_build