From 48f76eec4511093598938f4cc69e382c9783789fe1cd1693eac250a6e80da0e7 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Tue, 20 Feb 2024 12:19:38 +0000 Subject: [PATCH] Accepting request 1147857 from home:dimstar:rpm4.20:a Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1147857 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=202 --- aws-cli.changes | 6 ++++++ aws-cli.spec | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/aws-cli.changes b/aws-cli.changes index f14cf50..a84bfca 100644 --- a/aws-cli.changes +++ b/aws-cli.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 20 11:14:57 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Wed Jan 31 23:52:12 UTC 2024 - Robert Schweikert diff --git a/aws-cli.spec b/aws-cli.spec index 0dfc619..671c4ee 100644 --- a/aws-cli.spec +++ b/aws-cli.spec @@ -49,8 +49,7 @@ services. With this tool, multiple AWS services can be controlled from the command line and automated through scripts. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 sed -i 's/from botocore\.vendored //' awscli/customizations/awslambda.py sed -i 's/botocore\.vendored\.//' awscli/customizations/configure/__init__.py find . -type f | xargs grep -l '/usr/bin/env' | xargs sed -i 's/env python/python3.11/'