diff --git a/Jinja2-3.1.3.tar.gz b/Jinja2-3.1.3.tar.gz deleted file mode 100644 index a0cc07e3ef9fbd14974b6b6c5dfbd6eccae6bde6..0000000000000000000000000000000000000000 Binary files a/Jinja2-3.1.3.tar.gz and /dev/null differ diff --git a/jinja2-3.1.5.tar.gz b/jinja2-3.1.5.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d6aa300356b8739eb25eb1cad45b45eda0e3d91b Binary files /dev/null and b/jinja2-3.1.5.tar.gz differ diff --git a/python-jinja2.spec b/python-jinja2.spec index 67ecc63c3632a2b2c926ff4c0ee312c1a656da72..49192d6ca107e3617d9619f564a27ebc4fa2a78a 100644 --- a/python-jinja2.spec +++ b/python-jinja2.spec @@ -1,13 +1,13 @@ -%define anolis_release 4 +%define anolis_release 1 %global srcname Jinja2 Name: python-jinja2 -Version: 3.1.3 +Version: 3.1.5 Release: %{anolis_release}%{dist} Summary: General purpose template engine License: BSD URL: https://palletsprojects.com/p/jinja/ -Source0: https://files.pythonhosted.org/packages/b2/5e/3a21abf3cd467d7876045335e681d276ac32492febe6d98ad89562d1a7e1/%{srcname}-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/j/jinja2/jinja2-3.1.5.tar.gz #https://github.com/pallets/jinja/commit/d655030770081e2dfe46f90e27620472a502289d Patch1: fix-cve-2024-34064.patch @@ -42,6 +42,13 @@ BuildRequires: make BuildRequires: python3-Pallets-Sphinx-Themes >= 2 BuildRequires: python3-sphinxcontrib-log-cabinet BuildRequires: python3-sphinx-issues +BuildRequires: python3-trio +BuildRequires: /usr/bin/sphinx-build-3 +BuildRequires: make +BuildRequires: python3-sphinxcontrib-log-cabinet +BuildRequires: python3-sphinx-issues +BuildRequires: pyproject-rpm-macros +BuildRequires: python3-Pallets-Sphinx-Themes >= 2 %endif %description -n python3-jinja2 %_description @@ -93,6 +100,10 @@ rm -rvf docs/_build/html/.buildinfo %doc CHANGES.rst %changelog +* Fri Aug 29 2025 wenyuzifang - 3.1.5-1 +- Updated to version 3.1.5 to fix xxxxxxxxxx + + * Wed Apr 16 2025 tomcruiseqi <10762123+tomcruiseqi@user.noreply.gitee.com> - 3.1.3-4 - Fix CVE-2025-27516