Patch for docutils issue.

This commit is contained in:
Gwyn Ciesla 2020-05-05 08:45:30 -05:00
parent e14599dc53
commit 4bca3bf8f7

View File

@ -1,6 +1,6 @@
Name: awscli
Version: 1.18.52
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Universal Command Line Environment for AWS
License: ASL 2.0 and MIT
@ -11,6 +11,7 @@ BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Recommends: groff
Requires: python3-docutils
%{?python_provide:%python_provide python3-%{name}}
@ -25,6 +26,10 @@ rm -vr %{name}.egg-info
sed -i -e '/PyYAML/s/5.3/5.4/' setup.{py,cfg}
find awscli/examples/ -type f -name '*.rst' -executable -exec chmod -x '{}' +
# https://github.com/aws/aws-cli/issues/4837
sed -i "/,<0.16/d" setup.cfg
sed -i "/,<0.16/d" setup.py
%build
%py3_build
@ -51,6 +56,9 @@ install -Dpm0644 bin/aws_zsh_completer.sh \
%{_datadir}/zsh/site-functions/_awscli
%changelog
* Tue May 05 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.18.52-2
- Patch for docutils version issue.
* Tue May 05 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.18.52-1
- 1.18.52