diff --git a/python-Jinja2.spec b/python-Jinja2.spec
index 7d54e52..c9335c5 100644
--- a/python-Jinja2.spec
+++ b/python-Jinja2.spec
@@ -1,6 +1,6 @@
 Name:          python-Jinja2
 Version:       3.1.2
-Release:       1mamba
+Release:       2mamba
 Summary:       A small but fast and easy to use stand-alone template engine written in pure python.
 Group:         System/Libraries/Python
 Vendor:        openmamba
@@ -10,9 +10,10 @@ URL:           https://palletsprojects.com/p/jinja/
 Source:        http://pypi.debian.net/Jinja2/Jinja2-%{version}.tar.gz
 License:       BSD
 ## AUTOBUILDREQ-BEGIN
-BuildRequires: libpython3-devel
-BuildRequires: python3.7dist(markupsafe)
+BuildRequires: libpython311-devel
+BuildRequires: python3.11dist(markupsafe)
 ## AUTOBUILDREQ-END
+BuildRequires: libpython3-devel >= 3.11.5
 
 %description
 Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment.
@@ -46,6 +47,9 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
 %{python_sitearch}/Jinja2-%{version}-py*.egg-info/*
 
 %changelog
+* Sun Sep 24 2023 Automatic Build System <autodist@mambasoft.it> 3.1.2-2mamba
+- rebuilt with python3 = 3.11.5
+
 * Sat Apr 30 2022 Automatic Build System <autodist@mambasoft.it> 3.1.2-1mamba
 - automatic version update by autodist