From 3de37ee5c03eb1161d3ba47b22f45168e0dd09c5 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:29:10 +0100 Subject: [PATCH] rebuilt with python3 == 3.11 [release 4.18.1-4mamba;Tue Oct 17 2023] --- rpm.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/rpm.spec b/rpm.spec index 633df53..a298ed8 100644 --- a/rpm.spec +++ b/rpm.spec @@ -17,7 +17,7 @@ Name: rpm Epoch: 1 Version: 4.18.1 -Release: 3mamba +Release: 4mamba Summary: The RPM Package Manager (RPM) is a powerful package management system Group: System/Management Vendor: openmamba @@ -62,13 +62,14 @@ BuildRequires: liblua-devel BuildRequires: liblzma-devel BuildRequires: libmagic-devel BuildRequires: libpopt-devel -BuildRequires: libpython3-devel BuildRequires: libpython310-devel +BuildRequires: libpython311-devel BuildRequires: libreadline-devel BuildRequires: libsqlite-devel BuildRequires: libz-devel BuildRequires: libzstd-devel ## AUTOBUILDREQ-END +BuildRequires: libpython3-devel >= 3.11 BuildRequires: setup >= 1.2.0 Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: rpm-build @@ -180,7 +181,7 @@ This package should be installed if you want to develop Python programs that wil # Build for python3 legacy cp -a python python3 -sed -i "s|3.10|3.7|" python/Makefile python/_rpm.la +sed -i "s|3.10|%{python3_version}|" python/Makefile python/_rpm.la %make -C python3 clean %make -C python3 @@ -329,6 +330,9 @@ rm -f %{buildroot}%{_libdir}/librpm*.la %{python310_sitearch}/rpm/* %changelog +* Tue Oct 17 2023 Silvan Calarco 4.18.1-4mamba +- rebuilt with python3 == 3.11 + * Sun Jul 02 2023 Silvan Calarco 4.18.1-3mamba - added upstream patch to fix dnf problem with sqlite 3.42.0 ( https://github.com/rpm-software-management/rpm/pull/2553 )