diff --git a/0001-Add-loongarch-architecture-support.patch b/0001-Add-loongarch-architecture-support.patch index 177c430fd0318eba2245ae2843b9433dff213ce4..2cb3ab9f1771ec1fe20855660ada01b3a2c626fe 100644 --- a/0001-Add-loongarch-architecture-support.patch +++ b/0001-Add-loongarch-architecture-support.patch @@ -1,25 +1,24 @@ -From 77d9646088647ae2bbecb70248701458662ebf48 Mon Sep 17 00:00:00 2001 -From: Sun Haiyong -Date: Wed, 22 Dec 2021 14:37:16 +0800 -Subject: [PATCH] Add loongarch architecture support. +From 07faf607bb2cfa8c99ced77301c589062782b14d Mon Sep 17 00:00:00 2001 +From: Wenhua Huang +Date: Mon, 6 May 2024 15:31:15 +0800 +Subject: [PATCH] Add loongarch architecture support --- - dnf/rpm/__init__.py | 2 ++ - 1 file changed, 2 insertions(+) + dnf/rpm/__init__.py | 1 + + 1 file changed, 1 insertion(+) diff --git a/dnf/rpm/__init__.py b/dnf/rpm/__init__.py -index 696e594..0db8e95 100644 +index 12efca7..3ac5716 100644 --- a/dnf/rpm/__init__.py +++ b/dnf/rpm/__init__.py -@@ -97,6 +97,8 @@ _BASEARCH_MAP = _invert({ +@@ -97,6 +97,7 @@ _BASEARCH_MAP = _invert({ 'mipsel': ('mipsel',), 'mips64': ('mips64',), 'mips64el': ('mips64el',), + 'loongarch32' : ('loongarch32',), -+ 'loongarch64' : ('loongarch64',), + 'loongarch64': ('loongarch64',), 'noarch': ('noarch',), 'ppc': ('ppc',), - 'ppc64': ('ppc64', 'ppc64iseries', 'ppc64p7', 'ppc64pseries'), -- -2.30.0 +2.33.0 diff --git a/dnf.spec b/dnf.spec index 11d00843ca9182871eb537ca71f2ac287c7d7d92..4f6d789d90e8bffb91cea1b3e15097e4733fe92a 100644 --- a/dnf.spec +++ b/dnf.spec @@ -3,7 +3,7 @@ Name: dnf Version: 4.16.2 -Release: 2 +Release: 3 Summary: A software package manager that manages packages on Linux distributions. License: GPL-2.0-or-later AND GPL-1.0-only URL: https://github.com/rpm-software-management/dnf @@ -252,6 +252,12 @@ popd %{_mandir}/man8/%{name}-automatic.8* %changelog +* Mon May 06 2024 huangwenhua - 4.16.2-3 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:dnf:Fix loongarch architecture support + * Tue Jan 02 2024 chenhaixing - 4.16.2-2 - Type:bugfix - CVE:NA