diff --git a/ansible.spec b/ansible.spec index a4f876a..1ec5312 100644 --- a/ansible.spec +++ b/ansible.spec @@ -6,7 +6,8 @@ %endif # RHEL 6 and 7 do not have BuildRequires to build docs -%if 0%{?fedora} || 0%{?rhel} >= 8 +# Fedora 27 and older have too old a jinja2 to build docs +%if 0%{?fedora} > 27 || 0%{?rhel} >= 8 %global with_docs 1 %else %global with_docs 0 @@ -29,7 +30,7 @@ Name: ansible Summary: SSH-based configuration management, deployment, and task execution system Version: 2.5.5 -Release: 1%{?dist} +Release: 2%{?dist} Group: Development/Libraries License: GPLv3+ @@ -80,6 +81,7 @@ BuildRequires: python-keyczar BuildRequires: python-six BuildRequires: python-nose BuildRequires: python-coverage +BuildRequires: python-requests BuildRequires: python-mock BuildRequires: python-boto3 BuildRequires: python-botocore @@ -388,6 +390,9 @@ popd %endif %changelog +* Fri Jun 15 2018 Kevin Fenzi - 2.5.5-2 +- Stop building docs on F27 as python-jinja2 is too old there. + * Thu Jun 14 2018 Kevin Fenzi - 2.5.5-1 - Update to 2.5.5. Fixes bug #1580530 and #1584927 - Fixes 1588855,1590200 (fedora) and 1588855,1590199 (epel)