dnf/0001-Add-x86_64_v2-to-_BASEARCH_MAP.patch

24 lines
666 B
Diff

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)