diff --git a/1002-libdnf-add-sw.patch b/1002-libdnf-add-sw.patch new file mode 100644 index 0000000000000000000000000000000000000000..683fc36e024578722b20b94570cdbf1682a7585d --- /dev/null +++ b/1002-libdnf-add-sw.patch @@ -0,0 +1,25 @@ +From fc613dbf0418e13abb24c5f29ecef68e0c13ed71 Mon Sep 17 00:00:00 2001 +From: rpm-build +Date: Tue, 8 Aug 2023 10:58:35 +0800 +Subject: [PATCH] add sw + +Signed-off-by: rpm-build +--- + libdnf/dnf-context.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libdnf/dnf-context.cpp b/libdnf/dnf-context.cpp +index e663949..750b97f 100644 +--- a/libdnf/dnf-context.cpp ++++ b/libdnf/dnf-context.cpp +@@ -119,6 +119,7 @@ static const struct { + "sparcv9", "sparcv9v", NULL } }, + { "x86_64", { "x86_64", "amd64", "ia32e", NULL } }, + { "loongarch64",{ "loongarch64", NULL } }, ++ { "sw_64", { "sw_64", NULL } }, + { NULL, { NULL } } + }; + +-- +2.31.1 + diff --git a/libdnf.spec b/libdnf.spec index e5b71bdec1d189c6523567ddfb04181234108193..7cf0b5591da0a02d9686e50b88b036cb368823a6 100644 --- a/libdnf.spec +++ b/libdnf.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.1 +%define anolis_release .0.2 %global libsolv_version 0.7.20-3 %global libmodulemd_version 2.11.2-2 %global librepo_version 1.13.1 @@ -112,6 +112,7 @@ Patch46: 0046-Update-translations-RHEL-8.9.patch Patch1000: 1000-anolis-fix-platform-compatibility.patch Patch1001: 1001-arch-add-loongarch64-to-arch_map.patch +Patch1002: 1002-libdnf-add-sw.patch BuildRequires: cmake BuildRequires: gcc @@ -356,6 +357,9 @@ popd %endif %changelog +* Wed Mar 20 2024 wxiat - 0.63.0-17.0.2 +- cherry-pick `add sw arch #9c8c414fae68cb1faed14be823ab34eb6ff00028`. + * Tue Dec 05 2023 Liu Xiaoping - 0.63.0-17.0.1 - Disable rhsm support in Anolis (geliwei@openanolis.org) - rebrand: fix platform compatibility (geliwei@openanolis.org)