parent
88ca56fd31
commit
93898ae45c
4 changed files with 87 additions and 4 deletions
|
|
@ -1,12 +1,15 @@
|
|||
%global srcname Jinja2
|
||||
|
||||
Name: python-jinja2
|
||||
Version: 2.11.2
|
||||
Release: 8%{?dist}
|
||||
Version: 2.11.3
|
||||
Release: 1%{?dist}
|
||||
Summary: General purpose template engine
|
||||
License: BSD
|
||||
URL: https://palletsprojects.com/p/jinja/
|
||||
Source0: %{pypi_source}
|
||||
# cherry-picked patches to build with Python 3.10 (#1907442)
|
||||
Patch1: 0001-add-linetable-to-the-preserved-CodeType-attributes-1.patch
|
||||
Patch2: 0002-native_concat-pass-only-strings-to-literal_eval.patch
|
||||
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
# Enable python3 build by default
|
||||
|
|
@ -105,7 +108,7 @@ environments.
|
|||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{srcname}-%{version}
|
||||
%autosetup -p1 -n %{srcname}-%{version}
|
||||
|
||||
# cleanup
|
||||
find . -name '*.pyo' -o -name '*.pyc' -delete
|
||||
|
|
@ -180,6 +183,10 @@ PYTHONPATH=$(pwd)/src %{__python3} -m pytest tests
|
|||
|
||||
|
||||
%changelog
|
||||
* 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).
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.2-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue