From b9075d8e2a63c50043307a104d8a329ae8f10546 Mon Sep 17 00:00:00 2001 From: Yuriy Kohut Date: Mon, 26 Jan 2026 10:53:06 +0200 Subject: [PATCH] Patch to extend arch_map list with x86_64_v2 for the x86_64 Bump the package release --- ...p-list-with-x86_64_v2-for-the-x86_64.patch | 25 +++++++++++++++++++ libdnf.spec | 6 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0001-Extend-arch_map-list-with-x86_64_v2-for-the-x86_64.patch diff --git a/0001-Extend-arch_map-list-with-x86_64_v2-for-the-x86_64.patch b/0001-Extend-arch_map-list-with-x86_64_v2-for-the-x86_64.patch new file mode 100644 index 0000000..21a29c5 --- /dev/null +++ b/0001-Extend-arch_map-list-with-x86_64_v2-for-the-x86_64.patch @@ -0,0 +1,25 @@ +From b960f5b5f29c0a38fcd4dd7d0babb7266f5cc198 Mon Sep 17 00:00:00 2001 +From: Yuriy Kohut +Date: Mon, 26 Jan 2026 11:17:26 +0200 +Subject: [PATCH] Extend arch_map list with x86_64_v2 for the x86_64 + +--- + libdnf/dnf-context.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libdnf/dnf-context.cpp b/libdnf/dnf-context.cpp +index 4ef63ea6..fcce7227 100644 +--- a/libdnf/dnf-context.cpp ++++ b/libdnf/dnf-context.cpp +@@ -118,7 +118,7 @@ static const struct { + { "sh4", { "sh4", "sh4a", NULL } }, + { "sparc", { "sparc", "sparc64", "sparc64v", "sparcv8", + "sparcv9", "sparcv9v", NULL } }, +- { "x86_64", { "x86_64", "amd64", "ia32e", NULL } }, ++ { "x86_64", { "x86_64", "x86_64_v2", "amd64", "ia32e", NULL } }, + { "x86_64_v2", { "x86_64_v2", NULL } }, + { "loongarch64", { "loongarch64", NULL } }, + { NULL, { NULL } } +-- +2.49.0 + diff --git a/libdnf.spec b/libdnf.spec index 5f09fff..4c75830 100644 --- a/libdnf.spec +++ b/libdnf.spec @@ -56,7 +56,7 @@ Name: libdnf Version: %{libdnf_major_version}.%{libdnf_minor_version}.%{libdnf_micro_version} -Release: 12%{?dist}.alma.1 +Release: 12%{?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 @@ -84,6 +84,7 @@ Patch18: 0018-conf-Add-usr_drift_protected_paths.patch Patch1001: 0001-Add-link-to-AlmaLinux-bugtracker.patch Patch1002: 0001-Add-x86_64_v2-to-arch_map.patch Patch1003: 0001-Add-x86_64_v2-to-tests.patch +Patch1004: 0001-Extend-arch_map-list-with-x86_64_v2-for-the-x86_64.patch BuildRequires: cmake BuildRequires: gcc @@ -327,6 +328,9 @@ popd %endif %changelog +* Mon Jan 26 2026 Yuriy Kohut - 0.73.1-12.alma.2 +- Extend arch_map list with x86_64_v2 for the x86_64 + * Fri Jun 27 2025 Eduard Abdullin - 0.73.1-12.alma.1 - Add x86_64_v2 to arch_map - Add link to AlmaLinux bugtracker