diff --git a/0001-Add-x86_64_v2-to-_BASEARCH_MAP.patch b/0001-Add-x86_64_v2-to-_BASEARCH_MAP.patch new file mode 100644 index 0000000..2fefb1a --- /dev/null +++ b/0001-Add-x86_64_v2-to-_BASEARCH_MAP.patch @@ -0,0 +1,23 @@ +From 6d8db37e0f3bca78effadcdaa235914fc2970ec8 Mon Sep 17 00:00:00 2001 +From: soksanichenko +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) diff --git a/dnf.spec b/dnf.spec index d9cf5ed..0fe1d2a 100644 --- a/dnf.spec +++ b/dnf.spec @@ -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 - 4.20.0-6.alma.2 +- Add x86_64_v2 to _BASEARCH_MAP + * Tue Sep 02 2024 Eduard Abdullin - 4.20.0-6.alma.1 - Add link to AlmaLinux bugtracker