From ec4e55d3ac7de660862dc6373de335ffc8ed1cf5 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Thu, 9 Nov 2023 09:21:35 +0000 Subject: [PATCH] fix build error for loongarch64 --- util-linux.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/util-linux.spec b/util-linux.spec index 82a581a..6f63d5c 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 %global upstream_version 2.39.2 %global major_version v2.39 %global compldir %{_datadir}/bash-completion/completions/ @@ -248,6 +248,9 @@ util-linux commands. %prep %autosetup -n %{name}-%{upstream_version} -p1 +%ifarch loongarch64 +sed -i "6,8d" tests/expected/libmount/context-mount-flags +%endif %build unset LINGUAS || : @@ -813,6 +816,9 @@ fi %files -n util-linux-i18n -f %{name}.lang %changelog +* Tue Nov 7 2023 Wenlong Zhang - 2.39.2-3 +- fix build error for loongarch64 + * Mon Oct 09 2023 happy_orange - 2.39.2-2 - fix mount error and move user package to main package and add util-linux-i18n package -- Gitee