Update to 3.0.3.

This commit is contained in:
Thomas Moschny 2021-11-15 21:25:57 +01:00
commit b498647db8
3 changed files with 7 additions and 62 deletions

View file

@ -1,8 +1,8 @@
%global srcname Jinja2
Name: python-jinja2
Version: 3.0.1
Release: 4%{?dist}
Version: 3.0.3
Release: 1%{?dist}
Summary: General purpose template engine
License: BSD
URL: https://palletsprojects.com/p/jinja/
@ -10,8 +10,6 @@ Source0: %{pypi_source}
# Tests: Make "Traceback did not match" an actual f-string
Patch1: https://github.com/pallets/jinja/pull/1525.patch
# Tests: Adapt expected traceback regexes for Python 3.11.0a1
Patch2: https://github.com/pallets/jinja/pull/1527.patch
# Enable building without docs to avoid a circular dependency between this
# and python-sphinx:
@ -38,7 +36,7 @@ BuildRequires: python3-devel
%if %{with docs}
BuildRequires: %{_bindir}/sphinx-build-3
BuildRequires: make
BuildRequires: python3-Pallets-Sphinx-Themes
BuildRequires: python3-Pallets-Sphinx-Themes >= 2
BuildRequires: python3-sphinxcontrib-log-cabinet
BuildRequires: python3-sphinx-issues
%endif
@ -84,6 +82,9 @@ rm -rvf docs/_build/html/.buildinfo
%changelog
* Mon Nov 15 2021 Thomas Moschny <thomas.moschny@gmx.de> - 3.0.3-1
- Update to 3.0.3.
* Mon Nov 15 2021 Thomas Moschny <thomas.moschny@gmx.de> - 3.0.1-4
- Use new Python packaging guidelines.
- Jinja2 version 3 does not support Python 2 anymore.