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/'