diff --git a/0001-add-loongarch64-support-for-python.patch b/0001-add-loongarch64-support-for-python.patch new file mode 100644 index 0000000..8cba5ee --- /dev/null +++ b/0001-add-loongarch64-support-for-python.patch @@ -0,0 +1,24 @@ +From cd9f19a56816985d05f132319874f6697d7da872 Mon Sep 17 00:00:00 2001 +From: Wenlong Zhang +Date: Mon, 26 Feb 2024 03:25:24 +0000 +Subject: [PATCH] add loongarch64 support for python + +--- + configure.ac | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/configure.ac b/configure.ac +index e1cbb7c..1b8c272 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -968,6 +968,8 @@ cat > conftest.c <=6) && defined(_MIPSEL) +-- +2.43.0 diff --git a/python3.spec b/python3.spec index 6b57d48..02c5fad 100644 --- a/python3.spec +++ b/python3.spec @@ -3,7 +3,7 @@ Summary: Interpreter of the Python3 programming language URL: https://www.python.org/ Version: 3.11.6 -Release: 1 +Release: 2 License: Python-2.0 %global branchversion 3.11 @@ -89,6 +89,7 @@ Patch1: 00001-rpath.patch Patch251: 00251-change-user-install-location.patch Patch9000: add-the-sm3-method-for-obtaining-the-salt-value.patch +Patch9001: 0001-add-loongarch64-support-for-python.patch Provides: python%{branchversion} = %{version}-%{release} Provides: python(abi) = %{branchversion} @@ -185,6 +186,7 @@ rm configure pyconfig.h.in %patch251 -p1 %patch9000 -p1 +%patch9001 -p1 %build autoconf @@ -846,6 +848,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP" %{_mandir}/*/* %changelog +* Mon Feb 26 2024 Wenlong Zhang - 3.11.6-2 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC: add loongarch64 support for python 3.11.6 + * Wed Jan 31 2024 xinsheng3 - 3.11.6-1 - Type:bugfix - CVE:NA