Accepting request 1185068 from home:glaubitz:branches:Cloud:Tools

- Update to 1.33.20
  * api-change:``ec2``: Documentation updates for Elastic Compute Cloud (EC2).
  * api-change:``fms``: Increases Customer API's ManagedServiceData length
  * api-change:``s3``: Added response overrides to Head Object requests.
- from version 1.33.19
  * api-change:``apigateway``: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
  * api-change:``cognito-identity``: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
  * api-change:``connect``: Authentication profiles are Amazon Connect resources (in gated preview)
    that allow you to configure authentication settings for users in your contact center. This release
    adds support for new ListAuthenticationProfiles, DescribeAuthenticationProfile and
    UpdateAuthenticationProfile APIs.
  * api-change:``docdb``: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
  * api-change:``eks``: Updates EKS managed node groups to support EC2 Capacity Blocks for ML
  * api-change:``payment-cryptography``: Added further restrictions on logging of potentially
    sensitive inputs and outputs.
  * api-change:``payment-cryptography-data``: Adding support for dynamic keys for encrypt, decrypt,
    re-encrypt and translate pin functions.  With this change, customers can use one-time TR-31 keys
    directly in dataplane operations without the need to first import them into the service.
  * api-change:``stepfunctions``: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
  * api-change:``swf``: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
  * api-change:``wafv2``: JSON body inspection: Update documentation to clarify that JSON parsing
    doesn't include full validation.
- from version 1.33.18
  * api-change:``acm-pca``: Added CCPC_LEVEL_1_OR_HIGHER KeyStorageSecurityStandard and SM2
    KeyAlgorithm and SM3WITHSM2 SigningAlgorithm for China regions.
  * api-change:``cloudhsmv2``: Added 3 new APIs to support backup sharing: GetResourcePolicy,
    PutResourcePolicy, and DeleteResourcePolicy. Added BackupArn to the output of the DescribeBackups
    API. Added support for BackupArn in the CreateCluster API.
  * api-change:``connect``: This release supports showing PreferredAgentRouting step via
    DescribeContact API.

OBS-URL: https://build.opensuse.org/request/show/1185068
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=211
This commit is contained in:
Robert Schweikert 2024-07-03 11:01:08 +00:00 committed by Git OBS Bridge
commit 874efc2aac
6 changed files with 4016 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
1.33.20.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f920fe26e83692b8007cfa9c5f97828407ee5f6a60aaf2abbdb6f0d737a9058
size 2753730

12
ac_update-docutils.patch Normal file
View File

@ -0,0 +1,12 @@
diff -Nru aws-cli-1.33.20.orig/setup.py aws-cli-1.33.20/setup.py
--- aws-cli-1.33.20.orig/setup.py 2024-07-02 20:08:58.000000000 +0200
+++ aws-cli-1.33.20/setup.py 2024-07-03 09:59:11.066366452 +0200
@@ -25,7 +25,7 @@
install_requires = [
'botocore==1.34.138',
- 'docutils>=0.10,<0.17',
+ 'docutils>=0.10',
's3transfer>=0.10.0,<0.11.0',
'PyYAML>=3.10,<6.1',
'colorama>=0.2.5,<0.4.7',

3885
aws-cli.changes Normal file

File diff suppressed because it is too large Load Diff

92
aws-cli.spec Normal file
View File

@ -0,0 +1,92 @@
#
# spec file for package aws-cli
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%if 0%{?suse_version} >= 1600
%define pythons %{primary_python}
%else
%define pythons python311
%endif
%global _sitelibdir %{%{pythons}_sitelib}
Name: aws-cli
Version: 1.33.20
Release: 0
Summary: Amazon Web Services Command Line Interface
License: Apache-2.0
Group: System/Management
URL: https://github.com/aws/aws-cli
Source0: https://github.com/aws/%{name}/archive/refs/tags/%{version}.tar.gz
Patch0: ac_update-docutils.patch
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: groff
Provides: awscli = %{version}
BuildArch: noarch
BuildRequires: %{pythons}-devel
BuildRequires: %{pythons}-pip
BuildRequires: %{pythons}-setuptools
BuildRequires: %{pythons}-wheel
Requires: %{pythons}
Requires: %{pythons}-botocore >= 1.34.138
Requires: %{pythons}-six
Requires: (%{pythons}-PyYAML >= 3.10 with %{pythons}-PyYAML <= 6.1)
Requires: (%{pythons}-colorama >= 0.2.5 with %{pythons}-colorama <= 0.5.0)
Requires: (%{pythons}-docutils >= 0.10 with %{pythons}-docutils < 0.21)
Requires: (%{pythons}-rsa >= 3.1.2 with %{pythons}-rsa < 5.0.0)
Requires: (%{pythons}-s3transfer >= 0.10.0 with %{pythons}-s3transfer < 0.11.0)
%description
The AWS Command Line Interface (CLI) is a unified tool to manage AWS
services. With this tool, multiple AWS services can be controlled
from the command line and automated through scripts.
%prep
%autosetup -p1
sed -i 's/from botocore\.vendored //' awscli/customizations/awslambda.py
sed -i 's/botocore\.vendored\.//' awscli/customizations/configure/__init__.py
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
find %{buildroot}%{_sitelibdir}/awscli/examples -type f -exec chmod 644 {} \;
# No DOS crap
rm %{buildroot}/%{_bindir}/aws.cmd
# Shell completion
install -DTm644 %{buildroot}%{_bindir}/aws_bash_completer %{buildroot}%{_datadir}/bash-completion/completions/aws
install -DTm644 %{buildroot}%{_bindir}/aws_zsh_completer.sh %{buildroot}%{_sysconfdir}/zsh_completion.d/_aws
%files
%defattr(-, root, root)
%doc CHANGELOG.rst README.rst
%license LICENSE.txt
%dir %{_sitelibdir}/awscli
%dir %{_sitelibdir}/awscli-%{version}*-info
%{_sitelibdir}/awscli/*
%{_sitelibdir}/awscli-%{version}*-info/*
%{_bindir}/aws
%{_bindir}/aws_completer
%exclude %{_bindir}/aws_bash_completer
%exclude %{_bindir}/aws_zsh_completer.sh
%{_datadir}/bash-completion/completions/aws
%dir %{_sysconfdir}/zsh_completion.d
%config %attr(644,root,root) %{_sysconfdir}/zsh_completion.d/_aws
%changelog