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
This commit is contained in:
Robert Schweikert 2024-02-20 12:19:38 +00:00 committed by Git OBS Bridge
parent 09f908b94d
commit 48f76eec45
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 20 11:14:57 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 31 23:52:12 UTC 2024 - Robert Schweikert <rjschwei@suse.com> Wed Jan 31 23:52:12 UTC 2024 - Robert Schweikert <rjschwei@suse.com>

View File

@ -49,8 +49,7 @@ services. With this tool, multiple AWS services can be controlled
from the command line and automated through scripts. from the command line and automated through scripts.
%prep %prep
%setup -q %autosetup -p1
%patch0 -p1
sed -i 's/from botocore\.vendored //' awscli/customizations/awslambda.py sed -i 's/from botocore\.vendored //' awscli/customizations/awslambda.py
sed -i 's/botocore\.vendored\.//' awscli/customizations/configure/__init__.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/' find . -type f | xargs grep -l '/usr/bin/env' | xargs sed -i 's/env python/python3.11/'