From 77d9646088647ae2bbecb70248701458662ebf48 Mon Sep 17 00:00:00 2001
From: Sun Haiyong <sunhaiyong@loongson.cn>
Date: Wed, 22 Dec 2021 14:37:16 +0800
Subject: [PATCH] Add loongarch architecture support.

---
 dnf/rpm/__init__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dnf/rpm/__init__.py b/dnf/rpm/__init__.py
index 696e594..0db8e95 100644
--- a/dnf/rpm/__init__.py
+++ b/dnf/rpm/__init__.py
@@ -97,6 +97,8 @@ _BASEARCH_MAP = _invert({
     'mipsel': ('mipsel',),
     'mips64': ('mips64',),
     'mips64el': ('mips64el',),
+    'loongarch32' : ('loongarch32',),
+    'loongarch64' : ('loongarch64',),
     'noarch': ('noarch',),
     'ppc': ('ppc',),
     'ppc64': ('ppc64', 'ppc64iseries', 'ppc64p7', 'ppc64pseries'),
-- 
2.30.0

