aws-cli/aws-cli.spec

121 lines
4.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package aws-cli
#
# Copyright (c) 2020 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/
#
- Update to version 1.5.3 + feature:aws ec2 describe-volumes: Add support for optional pagination. + feature:aws route53domains: Add support for auto-renew domains. + feature:aws cognito-identity: Add for Open-ID Connect. + feature:aws sts: Add support for Open-ID Connect + feature:aws iam: Add support for Open-ID Connect + bugfix:aws s3 sync: Fix issue when uploading with --exact-timestamps (issue 964) + bugfix:Retry: Fix issue where certain error codes were not being retried (botocore issue 361) + bugfix:aws emr ssh: Fix issue when using waiter interface to wait on the cluster state (issue 954) + feature:aws cloudsearch: Add support for advance Japanese language processing. + feature:aws rds: Add support for gp2 which provides faster access than disk-based storage. + bugfix:aws s3 mv: Delete multi-part objects when transferring objects across regions using --source-region (issue 938) + bugfix:aws emr ssh: Fix issue with waiter configuration not being found (issue 937) + feature:aws dynamodb: Update aws dynamodb command to support storing and retrieving documents with full support for document models. New data types are fully compatible with the JSON standard and allow you to nest document elements within one another. + bugfix:aws configure: Fix bug where aws configure was not properly writing out to the shared credentials file + bugfix:S3 Response Parsing: Fix regression for parsing S3 responses containing a status code of 200 with an error response body (botocore issue 342) + bugfix:Shorthand Error Message: Ensure the error message for shorthand OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=4
2014-10-24 02:03:57 +02:00
Name: aws-cli
Version: 1.18.79
- Update to version 1.5.3 + feature:aws ec2 describe-volumes: Add support for optional pagination. + feature:aws route53domains: Add support for auto-renew domains. + feature:aws cognito-identity: Add for Open-ID Connect. + feature:aws sts: Add support for Open-ID Connect + feature:aws iam: Add support for Open-ID Connect + bugfix:aws s3 sync: Fix issue when uploading with --exact-timestamps (issue 964) + bugfix:Retry: Fix issue where certain error codes were not being retried (botocore issue 361) + bugfix:aws emr ssh: Fix issue when using waiter interface to wait on the cluster state (issue 954) + feature:aws cloudsearch: Add support for advance Japanese language processing. + feature:aws rds: Add support for gp2 which provides faster access than disk-based storage. + bugfix:aws s3 mv: Delete multi-part objects when transferring objects across regions using --source-region (issue 938) + bugfix:aws emr ssh: Fix issue with waiter configuration not being found (issue 937) + feature:aws dynamodb: Update aws dynamodb command to support storing and retrieving documents with full support for document models. New data types are fully compatible with the JSON standard and allow you to nest document elements within one another. + bugfix:aws configure: Fix bug where aws configure was not properly writing out to the shared credentials file + bugfix:S3 Response Parsing: Fix regression for parsing S3 responses containing a status code of 200 with an error response body (botocore issue 342) + bugfix:Shorthand Error Message: Ensure the error message for shorthand OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=4
2014-10-24 02:03:57 +02:00
Release: 0
Summary: Amazon Web Services Command Line Interface
License: Apache-2.0
Group: System/Management
URL: https://github.com/aws/aws-cli
- Update to version 1.5.3 + feature:aws ec2 describe-volumes: Add support for optional pagination. + feature:aws route53domains: Add support for auto-renew domains. + feature:aws cognito-identity: Add for Open-ID Connect. + feature:aws sts: Add support for Open-ID Connect + feature:aws iam: Add support for Open-ID Connect + bugfix:aws s3 sync: Fix issue when uploading with --exact-timestamps (issue 964) + bugfix:Retry: Fix issue where certain error codes were not being retried (botocore issue 361) + bugfix:aws emr ssh: Fix issue when using waiter interface to wait on the cluster state (issue 954) + feature:aws cloudsearch: Add support for advance Japanese language processing. + feature:aws rds: Add support for gp2 which provides faster access than disk-based storage. + bugfix:aws s3 mv: Delete multi-part objects when transferring objects across regions using --source-region (issue 938) + bugfix:aws emr ssh: Fix issue with waiter configuration not being found (issue 937) + feature:aws dynamodb: Update aws dynamodb command to support storing and retrieving documents with full support for document models. New data types are fully compatible with the JSON standard and allow you to nest document elements within one another. + bugfix:aws configure: Fix bug where aws configure was not properly writing out to the shared credentials file + bugfix:S3 Response Parsing: Fix regression for parsing S3 responses containing a status code of 200 with an error response body (botocore issue 342) + bugfix:Shorthand Error Message: Ensure the error message for shorthand OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=4
2014-10-24 02:03:57 +02:00
Source0: %{name}-%{version}.tar.gz
Patch0: hide_py_pckgmgmt.patch
BuildRequires: fdupes
Requires: groff
Provides: awscli = %{version}
BuildArch: noarch
%if 0%{?suse_version} && 0%{?suse_version} > 1315
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3
Requires: python3-PyYAML <= 6.0.0
Requires: python3-PyYAML >= 3.10
Requires: python3-botocore >= 1.17.2
Requires: python3-colorama <= 0.4.4
Requires: python3-colorama >= 0.2.5
Requires: python3-docutils >= 0.10
Requires: python3-rsa < 5.0.0
Requires: python3-rsa >= 3.1.2
Requires: python3-s3transfer < 0.4.0
Requires: python3-s3transfer >= 0.3.0
Requires: python3-six
%else
BuildRequires: bash-completion
BuildRequires: python-devel
BuildRequires: python-setuptools
- Update to version 1.5.3 + feature:aws ec2 describe-volumes: Add support for optional pagination. + feature:aws route53domains: Add support for auto-renew domains. + feature:aws cognito-identity: Add for Open-ID Connect. + feature:aws sts: Add support for Open-ID Connect + feature:aws iam: Add support for Open-ID Connect + bugfix:aws s3 sync: Fix issue when uploading with --exact-timestamps (issue 964) + bugfix:Retry: Fix issue where certain error codes were not being retried (botocore issue 361) + bugfix:aws emr ssh: Fix issue when using waiter interface to wait on the cluster state (issue 954) + feature:aws cloudsearch: Add support for advance Japanese language processing. + feature:aws rds: Add support for gp2 which provides faster access than disk-based storage. + bugfix:aws s3 mv: Delete multi-part objects when transferring objects across regions using --source-region (issue 938) + bugfix:aws emr ssh: Fix issue with waiter configuration not being found (issue 937) + feature:aws dynamodb: Update aws dynamodb command to support storing and retrieving documents with full support for document models. New data types are fully compatible with the JSON standard and allow you to nest document elements within one another. + bugfix:aws configure: Fix bug where aws configure was not properly writing out to the shared credentials file + bugfix:S3 Response Parsing: Fix regression for parsing S3 responses containing a status code of 200 with an error response body (botocore issue 342) + bugfix:Shorthand Error Message: Ensure the error message for shorthand OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=4
2014-10-24 02:03:57 +02:00
Requires: python
Requires: python-PyYAML <= 3.13
Requires: python-PyYAML >= 3.10
Requires: python-botocore >= 1.12.93
Requires: python-colorama <= 0.3.9
Requires: python-colorama >= 0.2.5
Requires: python-docutils >= 0.10
Requires: python-rsa <= 3.5.0
Requires: python-rsa >= 3.1.2
Requires: python-s3transfer < 0.4.0
Requires: python-s3transfer >= 0.3.0
Requires: python-six
%endif
%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
%setup -q
- Update to version 1.10.19 (bsc#974993) + forward port hide_py_pckgmgmt.patch + feature:lambda: Added support for setting the function runtime as nodejs4.3, as well as updating function configuration to set the runtime. + feature:ds: Added support for Directory Service Conditional Forwarder APIs. + feature:elasticbeanstalk: Adds support for three additional elements in AWS Elasticbeanstalk's DescribeInstancesHealthResponse: Deployment, AvailabilityZone, and InstanceType. Additionally adds support for increased EnvironmentName length from 23 to 40. + bugfix:Paginator: Allow non-specified input tokens in old starting token format. - From 1.10.18 + feature:apigateway: Added support for API Import + feature:route53: Added support for metric-based health checks and regional health checks. + feature:sts: Added support for GetCallerIdentity, which returns details about the credentials used to make the API call. The details include name and account, as well as the type of entity making the call, such as an IAM user vs. federated user. + feature:s3api: Added support for VersionId in PutObjectAcl (issue 856) + bugfix:s3api: Add validation to enforce S3 metadata only contains ASCII. (issue 861) + bugfix:Exceptions: Consistently parse errors with no body (issue 859) + bugfix:Config: Handle case where S3 config key is not a dict (issue 858) - From 1.10.17 + feature:acm: Update command to latest version + feature:cloudformation: Update command to latest version + feature:codedeploy: Update command to latest version + feature:dms: Update command to latest version + feature:elasticache: Update command to latest version OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=21
2016-04-11 23:54:31 +02:00
%patch0
sed -i 's/from botocore\.vendored //' awscli/customizations/awslambda.py
sed -i 's/botocore\.vendored\.//' awscli/customizations/configure/__init__.py
%build
%if 0%{?suse_version} && 0%{?suse_version} > 1315
python3 setup.py build
%else
python setup.py build
%endif
%install
%if 0%{?suse_version} && 0%{?suse_version} > 1315
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-scripts=%{_bindir}
%fdupes %{buildroot}%{python3_sitelib}
find %{buildroot}%{python3_sitelib}/awscli/examples -type f -exec chmod 644 {} \;
%else
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-scripts=%{_bindir}
%fdupes %{buildroot}%{python_sitelib}
find %{buildroot}%{python_sitelib}/awscli/examples -type f -exec chmod 644 {} \;
%endif
# 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
%doc CHANGELOG.rst README.rst
%license LICENSE.txt
%if 0%{?suse_version} && 0%{?suse_version} > 1315
%dir %{python3_sitelib}/awscli
%dir %{python3_sitelib}/awscli-%{version}-py%{py3_ver}.egg-info
%{python3_sitelib}/awscli/*
%{python3_sitelib}/*egg-info/*
%else
%dir %{python_sitelib}/awscli
%dir %{python_sitelib}/awscli-%{version}-py%{py_ver}.egg-info
%{python_sitelib}/awscli/*
%{python_sitelib}/*egg-info/*
%endif
%{_bindir}/aws
%{_bindir}/aws_completer
%exclude %{_bindir}/aws_bash_completer
%exclude %{_bindir}/aws_zsh_completer.sh
%{_datadir}/bash-completion/completions/aws
%{_sysconfdir}/zsh_completion.d
%changelog