add loongarch
This commit is contained in:
parent
ce4bd3fb9e
commit
2670717d29
25
0001-libdnf-0.65.0-add-loongarch-support.patch
Normal file
25
0001-libdnf-0.65.0-add-loongarch-support.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From a734378da28087be668d1ddda7dcfd3c2f3737b1 Mon Sep 17 00:00:00 2001
|
||||
From: Huang Yang <huangyang@loongson.cn>
|
||||
Date: Thu, 2 Jun 2022 06:51:17 +0000
|
||||
Subject: [PATCH] libdnf 0.65.0 add loongarch support
|
||||
|
||||
---
|
||||
libdnf/dnf-context.cpp | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/libdnf/dnf-context.cpp b/libdnf/dnf-context.cpp
|
||||
index ad467aa..9ed55ec 100644
|
||||
--- a/libdnf/dnf-context.cpp
|
||||
+++ b/libdnf/dnf-context.cpp
|
||||
@@ -112,6 +112,8 @@ static const struct {
|
||||
{ "riscv32", { "riscv32", NULL } },
|
||||
{ "riscv64", { "riscv64", NULL } },
|
||||
{ "riscv128", { "riscv128", NULL } },
|
||||
+ { "loongarch32", { "loongarch32", NULL } },
|
||||
+ { "loongarch64", { "loongarch64", NULL } },
|
||||
{ "s390", { "s390", NULL } },
|
||||
{ "s390x", { "s390x", NULL } },
|
||||
{ "sh3", { "sh3", NULL } },
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
Name: libdnf
|
||||
Version: 0.69.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Library providing simplified C and Python API to libsolv
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/rpm-software-management/libdnf
|
||||
@ -41,6 +41,9 @@ Obsoletes: python2-hawkey-debuginfo < %{version}-%{release}
|
||||
Obsoletes: python2-libdnf-debuginfo < %{version}-%{release}
|
||||
|
||||
Patch6000: backport-query-py-ensure-reldep-is-from-the-same-sack.patch
|
||||
%ifarch loongarch64
|
||||
Patch6001: 0001-libdnf-0.65.0-add-loongarch-support.patch
|
||||
%endif
|
||||
|
||||
%description
|
||||
A Library providing simplified C and Python API to libsolv.
|
||||
@ -120,6 +123,9 @@ popd
|
||||
%{python3_sitearch}/hawkey/
|
||||
|
||||
%changelog
|
||||
* Thu Jan 5 2023 zhangrui <zhangrui182@huawei.com> - 0.69.0-3
|
||||
- DESC:add loongarch
|
||||
|
||||
* Fri Dec 9 2022 zhangrui <zhangrui182@huawei.com> - 0.69.0-2
|
||||
- DESC:backport patch to ensure reldep is from the same sack
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user