diff --git a/awscli.spec b/awscli.spec index d1433a0..5eaff6c 100644 --- a/awscli.spec +++ b/awscli.spec @@ -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 - 1.18.52-2 +- Patch for docutils version issue. + * Tue May 05 2020 Gwyn Ciesla - 1.18.52-1 - 1.18.52