From a85a46db935865c43ad63ed94a2e4c9c96434c8d Mon Sep 17 00:00:00 2001 From: Bo Ren Date: Fri, 13 Sep 2024 13:34:25 +0800 Subject: [PATCH] Rebrand for Anolis OS and support loongarch64 Signed-off-by: Bo Ren --- 1000-add-anolis-platform.patch | 26 ++++++++++++++++++++++++++ 1001-support-loongarch64.patch | 26 ++++++++++++++++++++++++++ python3.11.spec | 5 +++++ 3 files changed, 57 insertions(+) create mode 100644 1000-add-anolis-platform.patch create mode 100644 1001-support-loongarch64.patch diff --git a/1000-add-anolis-platform.patch b/1000-add-anolis-platform.patch new file mode 100644 index 0000000..6ef3713 --- /dev/null +++ b/1000-add-anolis-platform.patch @@ -0,0 +1,26 @@ +From b53c5baadd8399c27af0abdd45c0c440cb50bdf8 Mon Sep 17 00:00:00 2001 +From: rpm-build +Date: Fri, 13 Sep 2024 13:28:31 +0800 +Subject: [PATCH 1/2] add anolis platform + +Signed-off-by: rpm-build +--- + Doc/library/gettext.rst | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Doc/library/gettext.rst b/Doc/library/gettext.rst +index 747f870..b1f04a6 100644 +--- a/Doc/library/gettext.rst ++++ b/Doc/library/gettext.rst +@@ -638,7 +638,7 @@ implementations, and valuable experience to the creation of this module: + + .. rubric:: Footnotes + +-.. [#] The default locale directory is system dependent; for example, on RedHat Linux ++.. [#] The default locale directory is system dependent; for example, on Anolis OS + it is :file:`/usr/share/locale`, but on Solaris it is :file:`/usr/lib/locale`. + The :mod:`gettext` module does not try to support these system dependent + defaults; instead its default is :file:`{sys.base_prefix}/share/locale` (see +-- +2.43.0 + diff --git a/1001-support-loongarch64.patch b/1001-support-loongarch64.patch new file mode 100644 index 0000000..ed9381e --- /dev/null +++ b/1001-support-loongarch64.patch @@ -0,0 +1,26 @@ +From fc76a1d9be245be9fedaacd96faa5ef4ebda3cbb Mon Sep 17 00:00:00 2001 +From: rpm-build +Date: Fri, 13 Sep 2024 13:29:09 +0800 +Subject: [PATCH 2/2] support loongarch64 + +Signed-off-by: rpm-build +--- + configure.ac | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 861f7a0..132fc5f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1040,6 +1040,8 @@ cat > conftest.c < - 3.11.2-2.0.bootstrap - Enable bootstrap build +- Rebrand for Anolis OS +- Support loongarch64 platform * Thu Feb 16 2023 Charalampos Stratakis - 3.11.2-2 - Support OpenSSL FIPS mode -- Gitee