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\.//' \{\} +