SHA256
1
0
forked from pool/aws-cli
aws-cli/aws-cli.spec

90 lines
3.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package aws-cli
#
Accepting request 1143642 from home:rjschwei:branches:Cloud:Tools - Switch to Python 3.11 build in SLE 15 SP4 and openSUSE Leap 15.4 and later (jsc#PCT-371) - Switch to wheel build - Update to version 1.32.31 * Forward port ac_update-docutils.patch * api-change:``datazone``: Add new skipDeletionCheck to DeleteDomain. Add new skipDeletionCheck to DeleteProject which also automatically deletes dependent objects * api-change:``route53``: Update the SDKs for text changes in the APIs. - From 1.32.30 * api-change:``autoscaling``: EC2 Auto Scaling customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type. * api-change:``comprehend``: Comprehend PII analysis now supports Spanish input documents. * api-change:``ec2``: EC2 Fleet customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type. * api-change:``mwaa``: This release adds MAINTENANCE environment status for Amazon MWAA environments. * api-change:``rds``: Introduced support for the InsufficientDBInstanceCapacityFault error in the RDS RestoreDBClusterFromSnapshot and RestoreDBClusterToPointInTime API methods. This provides enhanced error handling, ensuring a more robust experience. * api-change:``snowball``: Modified description of createaddress to include direction to add path when providing a JSON file. - From 1.32.29 * api-change:``connect``: Update list and string length limits for predefined OBS-URL: https://build.opensuse.org/request/show/1143642 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=200
2024-02-12 13:13:12 +01:00
# 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/
#
- 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
Accepting request 1143642 from home:rjschwei:branches:Cloud:Tools - Switch to Python 3.11 build in SLE 15 SP4 and openSUSE Leap 15.4 and later (jsc#PCT-371) - Switch to wheel build - Update to version 1.32.31 * Forward port ac_update-docutils.patch * api-change:``datazone``: Add new skipDeletionCheck to DeleteDomain. Add new skipDeletionCheck to DeleteProject which also automatically deletes dependent objects * api-change:``route53``: Update the SDKs for text changes in the APIs. - From 1.32.30 * api-change:``autoscaling``: EC2 Auto Scaling customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type. * api-change:``comprehend``: Comprehend PII analysis now supports Spanish input documents. * api-change:``ec2``: EC2 Fleet customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type. * api-change:``mwaa``: This release adds MAINTENANCE environment status for Amazon MWAA environments. * api-change:``rds``: Introduced support for the InsufficientDBInstanceCapacityFault error in the RDS RestoreDBClusterFromSnapshot and RestoreDBClusterToPointInTime API methods. This provides enhanced error handling, ensuring a more robust experience. * api-change:``snowball``: Modified description of createaddress to include direction to add path when providing a JSON file. - From 1.32.29 * api-change:``connect``: Update list and string length limits for predefined OBS-URL: https://build.opensuse.org/request/show/1143642 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=200
2024-02-12 13:13:12 +01:00
Version: 1.32.31
- 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
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
Accepting request 1143642 from home:rjschwei:branches:Cloud:Tools - Switch to Python 3.11 build in SLE 15 SP4 and openSUSE Leap 15.4 and later (jsc#PCT-371) - Switch to wheel build - Update to version 1.32.31 * Forward port ac_update-docutils.patch * api-change:``datazone``: Add new skipDeletionCheck to DeleteDomain. Add new skipDeletionCheck to DeleteProject which also automatically deletes dependent objects * api-change:``route53``: Update the SDKs for text changes in the APIs. - From 1.32.30 * api-change:``autoscaling``: EC2 Auto Scaling customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type. * api-change:``comprehend``: Comprehend PII analysis now supports Spanish input documents. * api-change:``ec2``: EC2 Fleet customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type. * api-change:``mwaa``: This release adds MAINTENANCE environment status for Amazon MWAA environments. * api-change:``rds``: Introduced support for the InsufficientDBInstanceCapacityFault error in the RDS RestoreDBClusterFromSnapshot and RestoreDBClusterToPointInTime API methods. This provides enhanced error handling, ensuring a more robust experience. * api-change:``snowball``: Modified description of createaddress to include direction to add path when providing a JSON file. - From 1.32.29 * api-change:``connect``: Update list and string length limits for predefined OBS-URL: https://build.opensuse.org/request/show/1143642 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=200
2024-02-12 13:13:12 +01:00
BuildRequires: python311-devel
BuildRequires: python311-pip
BuildRequires: python311-setuptools
BuildRequires: python311-wheel
Requires: python311
Requires: python311-botocore >= 1.34.31
Requires: python311-six
Requires: (python311-PyYAML >= 3.10 with python311-PyYAML <= 6.1)
Requires: (python311-colorama >= 0.2.5 with python311-colorama <= 0.5.0)
Requires: (python311-docutils >= 0.10 with python311-docutils < 0.21)
Requires: (python311-rsa >= 3.1.2 with python311-rsa < 5.0.0)
Requires: (python311-s3transfer >= 0.10.0 with python311-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
%setup -q
%patch0 -p1
sed -i 's/from botocore\.vendored //' awscli/customizations/awslambda.py
sed -i 's/botocore\.vendored\.//' awscli/customizations/configure/__init__.py
Accepting request 1143642 from home:rjschwei:branches:Cloud:Tools - Switch to Python 3.11 build in SLE 15 SP4 and openSUSE Leap 15.4 and later (jsc#PCT-371) - Switch to wheel build - Update to version 1.32.31 * Forward port ac_update-docutils.patch * api-change:``datazone``: Add new skipDeletionCheck to DeleteDomain. Add new skipDeletionCheck to DeleteProject which also automatically deletes dependent objects * api-change:``route53``: Update the SDKs for text changes in the APIs. - From 1.32.30 * api-change:``autoscaling``: EC2 Auto Scaling customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type. * api-change:``comprehend``: Comprehend PII analysis now supports Spanish input documents. * api-change:``ec2``: EC2 Fleet customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type. * api-change:``mwaa``: This release adds MAINTENANCE environment status for Amazon MWAA environments. * api-change:``rds``: Introduced support for the InsufficientDBInstanceCapacityFault error in the RDS RestoreDBClusterFromSnapshot and RestoreDBClusterToPointInTime API methods. This provides enhanced error handling, ensuring a more robust experience. * api-change:``snowball``: Modified description of createaddress to include direction to add path when providing a JSON file. - From 1.32.29 * api-change:``connect``: Update list and string length limits for predefined OBS-URL: https://build.opensuse.org/request/show/1143642 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=200
2024-02-12 13:13:12 +01:00
find . -type f | xargs grep -l '/usr/bin/env' | xargs sed -i 's/env python/python3.11/'
%build
Accepting request 1143642 from home:rjschwei:branches:Cloud:Tools - Switch to Python 3.11 build in SLE 15 SP4 and openSUSE Leap 15.4 and later (jsc#PCT-371) - Switch to wheel build - Update to version 1.32.31 * Forward port ac_update-docutils.patch * api-change:``datazone``: Add new skipDeletionCheck to DeleteDomain. Add new skipDeletionCheck to DeleteProject which also automatically deletes dependent objects * api-change:``route53``: Update the SDKs for text changes in the APIs. - From 1.32.30 * api-change:``autoscaling``: EC2 Auto Scaling customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type. * api-change:``comprehend``: Comprehend PII analysis now supports Spanish input documents. * api-change:``ec2``: EC2 Fleet customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type. * api-change:``mwaa``: This release adds MAINTENANCE environment status for Amazon MWAA environments. * api-change:``rds``: Introduced support for the InsufficientDBInstanceCapacityFault error in the RDS RestoreDBClusterFromSnapshot and RestoreDBClusterToPointInTime API methods. This provides enhanced error handling, ensuring a more robust experience. * api-change:``snowball``: Modified description of createaddress to include direction to add path when providing a JSON file. - From 1.32.29 * api-change:``connect``: Update list and string length limits for predefined OBS-URL: https://build.opensuse.org/request/show/1143642 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=200
2024-02-12 13:13:12 +01:00
#python3.11 setup.py build
%python311_pyproject_wheel
%install
Accepting request 1143642 from home:rjschwei:branches:Cloud:Tools - Switch to Python 3.11 build in SLE 15 SP4 and openSUSE Leap 15.4 and later (jsc#PCT-371) - Switch to wheel build - Update to version 1.32.31 * Forward port ac_update-docutils.patch * api-change:``datazone``: Add new skipDeletionCheck to DeleteDomain. Add new skipDeletionCheck to DeleteProject which also automatically deletes dependent objects * api-change:``route53``: Update the SDKs for text changes in the APIs. - From 1.32.30 * api-change:``autoscaling``: EC2 Auto Scaling customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type. * api-change:``comprehend``: Comprehend PII analysis now supports Spanish input documents. * api-change:``ec2``: EC2 Fleet customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type. * api-change:``mwaa``: This release adds MAINTENANCE environment status for Amazon MWAA environments. * api-change:``rds``: Introduced support for the InsufficientDBInstanceCapacityFault error in the RDS RestoreDBClusterFromSnapshot and RestoreDBClusterToPointInTime API methods. This provides enhanced error handling, ensuring a more robust experience. * api-change:``snowball``: Modified description of createaddress to include direction to add path when providing a JSON file. - From 1.32.29 * api-change:``connect``: Update list and string length limits for predefined OBS-URL: https://build.opensuse.org/request/show/1143642 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=200
2024-02-12 13:13:12 +01:00
#python3.11 setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-scripts=%{_bindir}
%python311_pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
find %{buildroot}%{python311_sitelib}/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
Accepting request 1143642 from home:rjschwei:branches:Cloud:Tools - Switch to Python 3.11 build in SLE 15 SP4 and openSUSE Leap 15.4 and later (jsc#PCT-371) - Switch to wheel build - Update to version 1.32.31 * Forward port ac_update-docutils.patch * api-change:``datazone``: Add new skipDeletionCheck to DeleteDomain. Add new skipDeletionCheck to DeleteProject which also automatically deletes dependent objects * api-change:``route53``: Update the SDKs for text changes in the APIs. - From 1.32.30 * api-change:``autoscaling``: EC2 Auto Scaling customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type. * api-change:``comprehend``: Comprehend PII analysis now supports Spanish input documents. * api-change:``ec2``: EC2 Fleet customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type. * api-change:``mwaa``: This release adds MAINTENANCE environment status for Amazon MWAA environments. * api-change:``rds``: Introduced support for the InsufficientDBInstanceCapacityFault error in the RDS RestoreDBClusterFromSnapshot and RestoreDBClusterToPointInTime API methods. This provides enhanced error handling, ensuring a more robust experience. * api-change:``snowball``: Modified description of createaddress to include direction to add path when providing a JSON file. - From 1.32.29 * api-change:``connect``: Update list and string length limits for predefined OBS-URL: https://build.opensuse.org/request/show/1143642 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=200
2024-02-12 13:13:12 +01:00
%dir %{python311_sitelib}/awscli
%dir %{python311_sitelib}/awscli-%{version}*-info
%{python311_sitelib}/awscli/*
%{python311_sitelib}/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