From acdee8786ff1920a4eb32c539eb866353ec33611 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Mon, 11 Nov 2019 09:05:32 +0100 Subject: [PATCH] New upstream version (2.10.3) --- python-jinja2.spec | 29 +++++++++++------------------ sources | 2 +- 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/python-jinja2.spec b/python-jinja2.spec index e7a8928..66feea6 100644 --- a/python-jinja2.spec +++ b/python-jinja2.spec @@ -1,8 +1,8 @@ %global srcname Jinja2 Name: python-jinja2 -Version: 2.10.1 -Release: 5%{?dist} +Version: 2.10.3 +Release: 1%{?dist} Summary: General purpose template engine License: BSD URL: http://jinja.pocoo.org/ @@ -53,7 +53,6 @@ BuildRequires: python2-devel BuildRequires: python2-setuptools BuildRequires: python2-babel >= 0.8 BuildRequires: python2-markupsafe >= 0.23 -BuildRequires: python2-pytest Requires: python2-babel >= 0.8 Requires: python2-markupsafe >= 0.23 Requires: python2-setuptools @@ -82,6 +81,9 @@ BuildRequires: python3-markupsafe >= 0.23 BuildRequires: python3-pytest %if %{with docs} BuildRequires: %{_bindir}/sphinx-build-3 +BuildRequires: python3-Pallets-Sphinx-Themes +BuildRequires: python3-sphinxcontrib-log-cabinet +BuildRequires: python3-sphinx-issues %endif Requires: python3-babel >= 0.8 Requires: python3-markupsafe >= 0.23 @@ -107,10 +109,6 @@ environments. # cleanup find . -name '*.pyo' -o -name '*.pyc' -delete -# fix EOL -sed -i 's|\r$||g' LICENSE - - %build %if %{with python2} %py2_build @@ -147,24 +145,17 @@ rm %{buildroot}%{python3_sitelib}/jinja2/asyncfilters.py %check -%if %{with python2} -# there are currently no tests in the jinja2 tarball -# make test -%endif # with python2 - %if %{with python3} -# there are currently no tests in the jinja2 tarball -# make test +%{__python3} -m pytest tests %endif # with python3 %if %{with python2} %files -n python2-jinja2 -%doc AUTHORS %doc CHANGES.rst %doc ext %doc examples -%license LICENSE +%license LICENSE.rst %if %{with docs} %doc docs/_build/html %endif @@ -175,11 +166,10 @@ rm %{buildroot}%{python3_sitelib}/jinja2/asyncfilters.py %if %{with python3} %files -n python3-jinja2 -%doc AUTHORS %doc CHANGES.rst %doc ext %doc examples -%license LICENSE +%license LICENSE.rst %if %{with docs} %doc docs/_build/html %endif @@ -189,6 +179,9 @@ rm %{buildroot}%{python3_sitelib}/jinja2/asyncfilters.py %changelog +* Mon Nov 11 2019 Lumír Balhar - 2.10.3-1 +- New upstream version (2.10.3) + * Thu Oct 03 2019 Miro Hrončok - 2.10.1-5 - Rebuilt for Python 3.8.0rc1 (#1748018) diff --git a/sources b/sources index 2321a7f..c8153cb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Jinja2-2.10.1.tar.gz) = a00153a0e07bb7d67f301b4eaf7af657726a1985e9ffc7ae2d76bdbb4c062d672efc8065e398767e1039b18a483a0092e206deac91e4047aad64920b56869623 +SHA512 (Jinja2-2.10.3.tar.gz) = c51c335450f46a467b0d40de1a51c149bdb4eb961ea888b64ff141e11b592b32e05040bfd9aa4a39892dda8d9d8cbf5a35b386ea16a247484d31b5b52eda1b8f