Allow colorama <=0.4.4

This commit is contained in:
Gwyn Ciesla 2020-12-08 12:58:45 -06:00
parent 78f3e73655
commit 4b52db2108

View File

@ -1,6 +1,6 @@
Name: awscli Name: awscli
Version: 1.18.191 Version: 1.18.191
Release: 1%{?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
@ -25,8 +25,6 @@ command line interface to Amazon Web Services.
%prep %prep
%autosetup -n %{name}-%{version} -p 1 %autosetup -n %{name}-%{version} -p 1
rm -vr %{name}.egg-info rm -vr %{name}.egg-info
# https://github.com/aws/aws-cli/pull/4929
sed -i -e '/PyYAML/s/5.3/5.4/' setup.{py,cfg}
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
@ -37,6 +35,10 @@ sed -i "/,<0.16/d" setup.py
sed -i s/4.5.0/4.7/g setup.py sed -i s/4.5.0/4.7/g setup.py
sed -i s/4.5.0/4.7/g setup.cfg sed -i s/4.5.0/4.7/g setup.cfg
# https://github.com/aws/aws-cli/issues/5795
sed -s s/\<0.4.4/\<=0.4.4/g setup.py
sed -s s/\<0.4.4/\<=0.4.4/g setup.cfg
%build %build
%py3_build %py3_build
@ -63,6 +65,9 @@ install -Dpm0644 bin/aws_zsh_completer.sh \
%{_datadir}/zsh/site-functions/_awscli %{_datadir}/zsh/site-functions/_awscli
%changelog %changelog
* Tue Dec 08 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.18.191-2
- Allow colorama <=0.4.4
* Tue Dec 8 08:24:48 CST 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.18.191-1 * Tue Dec 8 08:24:48 CST 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.18.191-1
- 1.18.191 - 1.18.191