Merge branch 'rawhide' of ssh://pkgs.fedoraproject.org/rpms/awscli into rawhide

This commit is contained in:
Gwyn Ciesla 2021-06-08 10:04:03 -05:00
commit 817984d333

View File

@ -1,14 +1,19 @@
# NOTE(mhayden): The package is awscli, but the source is aws-cli. # NOTE(mhayden): The package is awscli, but the source is aws-cli.
%define source_name aws-cli %global source_name aws-cli
%global forgeurl https://github.com/aws/aws-cli/
Version: 1.19.89
%global tag %{version}
%forgemeta
Name: awscli Name: awscli
Version: 1.19.89 Version: 1.19.89
Release: 2%{?dist} Release: 2%{?dist}
Summary: Universal Command Line Environment for AWS Summary: Universal Command Line Environment for AWS
License: ASL 2.0 and MIT License: ASL 2.0 and MIT
URL: https://aws.amazon.com/cli/ URL: %forgeurl
Source0: https://github.com/aws/aws-cli/archive/%{version}/%{name}-%{version}.tar.gz Source0: %forgesource
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-colorama BuildRequires: python3-colorama
@ -36,7 +41,7 @@ This package provides a unified
command line interface to Amazon Web Services. command line interface to Amazon Web Services.
%prep %prep
%autosetup -n %{source_name}-%{version} -p 1 %forgesetup
find awscli/examples/ -type f -name '*.rst' -executable -exec chmod -x '{}' + find awscli/examples/ -type f -name '*.rst' -executable -exec chmod -x '{}' +
# https://github.com/aws/aws-cli/issues/4837 # https://github.com/aws/aws-cli/issues/4837