Disable documentation

Resolves: rhbz#1944567
This commit is contained in:
Miro Hrončok 2021-04-13 16:03:25 +02:00
parent c226c4d045
commit 8e7e566ba7
1 changed files with 7 additions and 4 deletions

View File

@ -2,7 +2,7 @@
Name: python-jinja2
Version: 2.11.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: General purpose template engine
License: BSD
URL: https://palletsprojects.com/p/jinja/
@ -25,9 +25,8 @@ Patch2: 0002-native_concat-pass-only-strings-to-literal_eval.patch
%bcond_without python2
%endif
# Enable building without docs to avoid a circular dependency between this
# and python-sphinx:
%bcond_without docs
# No docs in RHEL 9: https://bugzilla.redhat.com/show_bug.cgi?id=1944567
%bcond_with docs
%if 0%{?fedora} || 0%{?rhel} > 7
%bcond_without async
@ -183,6 +182,10 @@ PYTHONPATH=$(pwd)/src %{__python3} -m pytest tests
%changelog
* Tue Apr 13 2021 Miro Hrončok <mhroncok@redhat.com> - 2.11.3-2
- Disable documentation
- Resolves: rhbz#1944567
* Sat Feb 6 2021 Thomas Moschny <thomas.moschny@gmx.de> - 2.11.3-1
- Update to 2.11.3.
- Add patches to build with Python 3.10 (#1907442).