From 90ef26705f4459077388f00ce2d602fc4b54ae8b Mon Sep 17 00:00:00 2001 From: eabdullin Date: Thu, 12 Sep 2024 11:37:30 +0300 Subject: [PATCH] - Add x86_64_v2 to arch_map --- 0001-Add-x86_64_v2-to-arch_map.patch | 24 ++++++++++++++++++++++++ libdnf.spec | 6 +++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 0001-Add-x86_64_v2-to-arch_map.patch diff --git a/0001-Add-x86_64_v2-to-arch_map.patch b/0001-Add-x86_64_v2-to-arch_map.patch new file mode 100644 index 0000000..ca9c66c --- /dev/null +++ b/0001-Add-x86_64_v2-to-arch_map.patch @@ -0,0 +1,24 @@ +From 51bf44398eedd4ede0f5021d477b8ef5ac0dc144 Mon Sep 17 00:00:00 2001 +From: eabdullin +Date: Thu, 12 Sep 2024 11:36:09 +0300 +Subject: [PATCH] Add x86_64_v2 to arch_map + +--- + libdnf/dnf-context.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libdnf/dnf-context.cpp b/libdnf/dnf-context.cpp +index d019743..37847ea 100644 +--- a/libdnf/dnf-context.cpp ++++ b/libdnf/dnf-context.cpp +@@ -119,6 +119,7 @@ static const struct { + { "sparc", { "sparc", "sparc64", "sparc64v", "sparcv8", + "sparcv9", "sparcv9v", NULL } }, + { "x86_64", { "x86_64", "amd64", "ia32e", NULL } }, ++ { "x86_64_v2", { "x86_64_v2", NULL } }, + { "loongarch64", { "loongarch64", NULL } }, + { NULL, { NULL } } + }; +-- +2.39.3 (Apple Git-146) + diff --git a/libdnf.spec b/libdnf.spec index ce2e94e..230b98c 100644 --- a/libdnf.spec +++ b/libdnf.spec @@ -56,7 +56,7 @@ Name: libdnf Version: %{libdnf_major_version}.%{libdnf_minor_version}.%{libdnf_micro_version} -Release: 5%{?dist}.alma.1 +Release: 5%{?dist}.alma.2 Summary: Library providing simplified C and Python API to libsolv License: LGPL-2.1-or-later URL: https://github.com/rpm-software-management/libdnf @@ -72,6 +72,7 @@ Patch6: 0006-Add-tests-for-shell-style-variable-expansion.patch # AlmaLinux patches Patch1001: 0001-Add-link-to-AlmaLinux-bugtracker.patch Patch1002: 0001-Add-x86_64_v2-to-tests.patch +Patch1003: 0001-Add-x86_64_v2-to-arch_map.patch BuildRequires: cmake BuildRequires: gcc @@ -315,6 +316,9 @@ popd %endif %changelog +* Thu Sep 12 2024 Eduard Abdullin - 0.73.1-5.alma.2 +- Add x86_64_v2 to arch_map + * Wed Jul 31 2024 Eduard Abdullin - 0.73.1-5.alma.1 - Add link to AlmaLinux bugtracker - Fix tests on x86_64_v2