From b55f10740f431bf5e3a3af245e3eeaced7a7d0fae9afc1aacdc460410c645cff Mon Sep 17 00:00:00 2001 From: Lee Duncan Date: Thu, 16 May 2024 18:16:09 +0000 Subject: [PATCH] Accepting request 1174640 from home:dimstar:Factory - Use %autosetup macro: allows us to eliminate usage of deprecated %patchN syntax. OBS-URL: https://build.opensuse.org/request/show/1174640 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=75 --- python-rtslib-fb.changes | 6 ++++++ python-rtslib-fb.spec | 6 ++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/python-rtslib-fb.changes b/python-rtslib-fb.changes index 566a5b6..777dbe1 100644 --- a/python-rtslib-fb.changes +++ b/python-rtslib-fb.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 16 15:10:26 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro: allows us to eliminate usage of deprecated + %patchN syntax. + ------------------------------------------------------------------- Tue Jan 9 21:43:21 UTC 2024 - Matej Cepl diff --git a/python-rtslib-fb.spec b/python-rtslib-fb.spec index 151d1a7..ef5eb51 100644 --- a/python-rtslib-fb.spec +++ b/python-rtslib-fb.spec @@ -53,7 +53,7 @@ BuildRequires: alts Requires: alts %else Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives %endif %python_subpackages @@ -72,9 +72,7 @@ python-rtslib-fb-common is the invariant base package needed by both python2-rtslib-fb and python3-rtslib-fb. %prep -%setup -q -n python-rtslib-fb-v%{version} -%patch2 -p1 -%patch3 -p1 +%autosetup -p1 -n python-rtslib-fb-v%{version} %build %pyproject_wheel