New upstream version (2.10.3)
This commit is contained in:
parent
c215abd79c
commit
acdee8786f
@ -1,8 +1,8 @@
|
|||||||
%global srcname Jinja2
|
%global srcname Jinja2
|
||||||
|
|
||||||
Name: python-jinja2
|
Name: python-jinja2
|
||||||
Version: 2.10.1
|
Version: 2.10.3
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: General purpose template engine
|
Summary: General purpose template engine
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://jinja.pocoo.org/
|
URL: http://jinja.pocoo.org/
|
||||||
@ -53,7 +53,6 @@ BuildRequires: python2-devel
|
|||||||
BuildRequires: python2-setuptools
|
BuildRequires: python2-setuptools
|
||||||
BuildRequires: python2-babel >= 0.8
|
BuildRequires: python2-babel >= 0.8
|
||||||
BuildRequires: python2-markupsafe >= 0.23
|
BuildRequires: python2-markupsafe >= 0.23
|
||||||
BuildRequires: python2-pytest
|
|
||||||
Requires: python2-babel >= 0.8
|
Requires: python2-babel >= 0.8
|
||||||
Requires: python2-markupsafe >= 0.23
|
Requires: python2-markupsafe >= 0.23
|
||||||
Requires: python2-setuptools
|
Requires: python2-setuptools
|
||||||
@ -82,6 +81,9 @@ BuildRequires: python3-markupsafe >= 0.23
|
|||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
BuildRequires: %{_bindir}/sphinx-build-3
|
BuildRequires: %{_bindir}/sphinx-build-3
|
||||||
|
BuildRequires: python3-Pallets-Sphinx-Themes
|
||||||
|
BuildRequires: python3-sphinxcontrib-log-cabinet
|
||||||
|
BuildRequires: python3-sphinx-issues
|
||||||
%endif
|
%endif
|
||||||
Requires: python3-babel >= 0.8
|
Requires: python3-babel >= 0.8
|
||||||
Requires: python3-markupsafe >= 0.23
|
Requires: python3-markupsafe >= 0.23
|
||||||
@ -107,10 +109,6 @@ environments.
|
|||||||
# cleanup
|
# cleanup
|
||||||
find . -name '*.pyo' -o -name '*.pyc' -delete
|
find . -name '*.pyo' -o -name '*.pyc' -delete
|
||||||
|
|
||||||
# fix EOL
|
|
||||||
sed -i 's|\r$||g' LICENSE
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
%py2_build
|
%py2_build
|
||||||
@ -147,24 +145,17 @@ rm %{buildroot}%{python3_sitelib}/jinja2/asyncfilters.py
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with python2}
|
|
||||||
# there are currently no tests in the jinja2 tarball
|
|
||||||
# make test
|
|
||||||
%endif # with python2
|
|
||||||
|
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
# there are currently no tests in the jinja2 tarball
|
%{__python3} -m pytest tests
|
||||||
# make test
|
|
||||||
%endif # with python3
|
%endif # with python3
|
||||||
|
|
||||||
|
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
%files -n python2-jinja2
|
%files -n python2-jinja2
|
||||||
%doc AUTHORS
|
|
||||||
%doc CHANGES.rst
|
%doc CHANGES.rst
|
||||||
%doc ext
|
%doc ext
|
||||||
%doc examples
|
%doc examples
|
||||||
%license LICENSE
|
%license LICENSE.rst
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
%doc docs/_build/html
|
%doc docs/_build/html
|
||||||
%endif
|
%endif
|
||||||
@ -175,11 +166,10 @@ rm %{buildroot}%{python3_sitelib}/jinja2/asyncfilters.py
|
|||||||
|
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
%files -n python3-jinja2
|
%files -n python3-jinja2
|
||||||
%doc AUTHORS
|
|
||||||
%doc CHANGES.rst
|
%doc CHANGES.rst
|
||||||
%doc ext
|
%doc ext
|
||||||
%doc examples
|
%doc examples
|
||||||
%license LICENSE
|
%license LICENSE.rst
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
%doc docs/_build/html
|
%doc docs/_build/html
|
||||||
%endif
|
%endif
|
||||||
@ -189,6 +179,9 @@ rm %{buildroot}%{python3_sitelib}/jinja2/asyncfilters.py
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 11 2019 Lumír Balhar <lbalhar@redhat.com> - 2.10.3-1
|
||||||
|
- New upstream version (2.10.3)
|
||||||
|
|
||||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.10.1-5
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.10.1-5
|
||||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (Jinja2-2.10.1.tar.gz) = a00153a0e07bb7d67f301b4eaf7af657726a1985e9ffc7ae2d76bdbb4c062d672efc8065e398767e1039b18a483a0092e206deac91e4047aad64920b56869623
|
SHA512 (Jinja2-2.10.3.tar.gz) = c51c335450f46a467b0d40de1a51c149bdb4eb961ea888b64ff141e11b592b32e05040bfd9aa4a39892dda8d9d8cbf5a35b386ea16a247484d31b5b52eda1b8f
|
||||||
|
Loading…
Reference in New Issue
Block a user