diff --git a/dnf.spec b/dnf.spec index 17ebb98..177c6d8 100644 --- a/dnf.spec +++ b/dnf.spec @@ -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 - 4.14.0-8 +- DESC: fix build error for loongarch64 + * Tue Dec 20 2022 chenhaixing - 4.14.0-7 - DESC:fix test cases failed in tests/test_plugin.py