fix build error for loongarch64

This commit is contained in:
Wenlong Zhang 2023-01-10 08:44:59 +08:00
parent d39284b8e5
commit 06d4ed1018

View File

@ -3,7 +3,7 @@
Name: dnf
Version: 4.14.0
Release: 7
Release: 8
Summary: A software package manager that manages packages on Linux distributions.
License: GPLv2+ and GPLv2 and GPL
URL: https://github.com/rpm-software-management/dnf
@ -19,10 +19,9 @@ Patch9005: huawei-lock-file-add-verify-parameter.patch
%ifarch sw_64
Patch6000: dnf-4.10.0-sw.patch
%endif
%ifarch loongarch64
%if 0%(test `uname -m` == "loongarch64" && echo 1)
Patch6001: 0001-Add-loongarch-architecture-support.patch
%endif
Patch6002: backport-fix-plugins-unit-tests-unload-plugins-upon-their-deletion.patch
BuildArch: noarch
@ -248,6 +247,9 @@ popd
%{_mandir}/man8/%{name}-automatic.8*
%changelog
* Fri Jan 6 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 4.14.0-8
- DESC: fix build error for loongarch64
* Tue Dec 20 2022 chenhaixing <chenhaixing@huawei.com> - 4.14.0-7
- DESC:fix test cases failed in tests/test_plugin.py