From cf07ba109481daa693f195033b3d64bec4c453fff2fd0b1d9c894c875535b793 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Fri, 8 Mar 2024 20:50:53 +0000 Subject: [PATCH] Accepting request 1151370 from home:dimstar:rpm4.20:o Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1151370 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/oci-cli?expand=0&rev=116 --- oci-cli.changes | 6 ++++++ oci-cli.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/oci-cli.changes b/oci-cli.changes index 7da5704..39e68d4 100644 --- a/oci-cli.changes +++ b/oci-cli.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 26 12:34:20 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + PatchN. + ------------------------------------------------------------------- Fri Feb 16 13:30:57 UTC 2024 - John Paul Adrian Glaubitz diff --git a/oci-cli.spec b/oci-cli.spec index d3602a9..f288e9c 100644 --- a/oci-cli.spec +++ b/oci-cli.spec @@ -103,8 +103,8 @@ Some of these, such as the ability to run scripts, extend the Console's functionality. %prep -%setup -q -n oci-cli-%{version} -%patch0 -p1 +%autosetup -p1 -n oci-cli-%{version} + # Fix includes find . -name "*.py" -exec sed -i 's/from oci\._vendor //' \{\} + find . -name "*.py" -exec sed -i 's/oci\._vendor\.//' \{\} +