Add x86_64_v2

This commit is contained in:
eabdullin 2024-11-21 19:15:31 +03:00
parent b31a025b6c
commit 682801d1fa
2 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,23 @@
From 6d8db37e0f3bca78effadcdaa235914fc2970ec8 Mon Sep 17 00:00:00 2001
From: soksanichenko <soksanichenko@almalinux.org>
Date: Thu, 12 Sep 2024 11:26:56 +0300
Subject: [PATCH] Add x86_64_v2 to _BASEARCH_MAP
---
dnf/rpm/__init__.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/dnf/rpm/__init__.py b/dnf/rpm/__init__.py
index 12efca7..69a77c8 100644
--- a/dnf/rpm/__init__.py
+++ b/dnf/rpm/__init__.py
@@ -112,6 +112,7 @@ _BASEARCH_MAP = _invert({
'sparc': ('sparc', 'sparc64', 'sparc64v', 'sparcv8', 'sparcv9',
'sparcv9v'),
'x86_64': ('x86_64', 'amd64', 'ia32e'),
+ 'x86_64_v2': ('x86_64_v2',),
})
--
2.39.3 (Apple Git-146)

View File

@ -69,7 +69,7 @@ It supports RPMs, modules and comps groups & environments.
Name: dnf
Version: 4.14.0
Release: 17%{?dist}
Release: 17%{?dist}.alma.100
Summary: %{pkg_summary}
# For a breakdown of the licensing, see PACKAGE-LICENSING
License: GPLv2+
@ -102,6 +102,8 @@ Patch24: 0024-doc-Remove-provide-of-spec-definition-for-repoquery-.patch
Patch25: 0025-man-Improve-upgrade-minimal-command-docs-RHEL-6417.patch
Patch26: 0026-doc-Makecache-with-timer-tries-only-one-mirror.patch
Patch1001: 0001-Add-x86_64_v2-to-_BASEARCH_MAP.patch
BuildArch: noarch
BuildRequires: cmake
BuildRequires: gettext