Files
aws-cli/aws-cli.spec
John Paul Adrian Glaubitz a38f634358 - Update to 1.40.22
* api-change:``ec2``: This release adds support for the C7i-flex, M7i-flex, I7i, I7ie, I8g,
    P6-b200, Trn2, C8gd, M8gd and R8gd instances
  * api-change:``security-ir``: Update PrincipalId pattern documentation to reflect what user should
    receive back from the API call
- from version 1.40.21
  * api-change:``amp``: Add QueryLoggingConfiguration APIs for Amazon Managed Prometheus
  * api-change:``auditmanager``: With this release, the AssessmentControl description field has been
    deprecated, as of May 19, 2025. Additionally, the UpdateAssessment API can now return a
    ServiceQuotaExceededException when applicable service quotas are exceeded.
  * api-change:``dsql``: Features: support for customer managed encryption keys
  * api-change:``glue``: This release supports additional ConversionSpec parameter as part of
    IntegrationPartition Structure in CreateIntegrationTableProperty API. This parameter is referred to
    apply appropriate column transformation for columns that are used for timestamp based partitioning
- from version 1.40.20
  * api-change:``application-autoscaling``: Doc only update that addresses a customer reported issue.
  * api-change:``bedrock-agent-runtime``: Amazon Bedrock introduces asynchronous flows (in preview),
    which let you run flows for longer durations and yield control so that your application can perform
    other tasks and you don't have to actively monitor the flow's progress.
  * api-change:``cloudwatch``: Adds support for setting up Contributor Insight rules on logs
    transformed via Logs Transformation feature.
  * api-change:``ec2``: Release of Dualstack and Ipv6-only EC2 Public DNS hostnames
  * api-change:``partnercentral-selling``: Modified validation to allow expectedCustomerSpend array
    with zero elements in Partner Opportunity operations.
- from version 1.40.19
  * api-change:``datasync``: Remove Discovery APIs from the DataSync service
  * api-change:``ec2``: This release expands the ModifyInstanceMaintenanceOptions API to enable or
    disable instance migration during customer-initiated reboots for EC2 Scheduled Reboot Events.
  * api-change:``glue``: Enhanced AWS Glue ListConnectionTypes API Model with additional metadata
    fields.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=230
2025-05-27 14:20:10 +00:00

93 lines
3.2 KiB
RPMSpec

#
# spec file for package aws-cli
#
# Copyright (c) 2025 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.40.22
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_relax-depends.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.38.23
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.18.1 with %{pythons}-docutils < 0.30)
Requires: (%{pythons}-rsa >= 3.1.2 with %{pythons}-rsa < 5.0.0)
Requires: (%{pythons}-s3transfer >= 0.13.0 with %{pythons}-s3transfer < 0.14.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