- Add x86_64_v2 to _BASEARCH_MAP

This commit is contained in:
eabdullin 2024-09-12 11:28:41 +03:00
parent 72791a191d
commit 9075eee3c7
2 changed files with 28 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

@ -68,7 +68,7 @@ It supports RPMs, modules and comps groups & environments.
Name: dnf
Version: 4.20.0
Release: 6%{?dist}.alma.1
Release: 6%{?dist}.alma.2
Summary: %{pkg_summary}
# For a breakdown of the licensing, see PACKAGE-LICENSING
License: GPL-2.0-or-later AND GPL-1.0-only
@ -82,6 +82,7 @@ Patch5: 0005-tests-Use-PGP-keys-without-SHA-1.patch
# AlmaLinux patches
Patch1001: 0001-Add-link-to-AlmaLinux-bugtracker.patch
Patch1002: 0001-Add-x86_64_v2-to-_BASEARCH_MAP.patch
BuildArch: noarch
BuildRequires: cmake
@ -423,6 +424,9 @@ popd
%{python3_sitelib}/%{name}/automatic/
%changelog
* Thu Sep 12 2024 Eduard Abdullin <eabdullin@almalinux.org> - 4.20.0-6.alma.2
- Add x86_64_v2 to _BASEARCH_MAP
* Tue Sep 02 2024 Eduard Abdullin <eabdullin@almalinux.org> - 4.20.0-6.alma.1
- Add link to AlmaLinux bugtracker