Patch to extend arch_map list with x86_64_v2 for the x86_64

Bump the package release
This commit is contained in:
Yuriy Kohut 2026-01-26 10:53:06 +02:00
parent 519659e539
commit b9075d8e2a
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From b960f5b5f29c0a38fcd4dd7d0babb7266f5cc198 Mon Sep 17 00:00:00 2001
From: Yuriy Kohut <yura.kohut@gmail.com>
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

View File

@ -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 <ykohut@almalinux.org> - 0.73.1-12.alma.2
- Extend arch_map list with x86_64_v2 for the x86_64
* Fri Jun 27 2025 Eduard Abdullin <eabdullin@almalinux.org> - 0.73.1-12.alma.1
- Add x86_64_v2 to arch_map
- Add link to AlmaLinux bugtracker