%global pyver 3.15 %global python python%{pyver} %global puresitedir %{_prefix}/lib/python%{pyver}/site-packages Name: python%{pyver}-jinja2 Version: 3.1.6 Release: 1%{?dist} Summary: A fast and expressive template engine License: BSD-3-Clause URL: https://github.com/pallets/jinja Source0: https://files.pythonhosted.org/packages/source/j/jinja2/jinja2-%{version}.tar.gz BuildArch: noarch BuildRequires: python%{pyver} BuildRequires: python%{pyver}-libs BuildRequires: python%{pyver}-flit-core BuildRequires: python%{pyver}-installer Requires: python%{pyver}-libs Requires: python%{pyver}-markupsafe %description Jinja is a fast, expressive, extensible templating engine. %prep %autosetup -n jinja2-%{version} %build %{python} -m flit_core.wheel %install %{python} -m installer --destdir=%{buildroot} dist/*.whl %files %license LICENSE.txt %{puresitedir}/jinja2/ %{puresitedir}/jinja2-%{version}.dist-info/ %changelog * Thu Jul 09 2026 Yonghang Wang - 3.1.6-1%{?dist} - Build for al2023