From f802fd9c81ec3b3bfa06ec06a526913a6c075c18 Mon Sep 17 00:00:00 2001 From: shixuantong <1726671442@qq.com> Date: Sat, 26 Feb 2022 14:49:38 +0800 Subject: [PATCH] fix test_localeconv fail in aarch64 machine --- findutils.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/findutils.spec b/findutils.spec index b43f6b6..29aa47a 100644 --- a/findutils.spec +++ b/findutils.spec @@ -1,7 +1,7 @@ Name: findutils Epoch: 2 Version: 4.8.0 -Release: 2 +Release: 3 Summary: The GNU Find Utilities License: GPLv3+ URL: http://www.gnu.org/software/findutils/ @@ -41,14 +41,14 @@ xargs - build and execute command lines from standard input autoreconf -fiv %build +%ifarch aarch64 +CFLAGS="$RPM_OPT_FLAGS -fsigned-char" +%endif %configure %make_build %check -%ifarch aarch64 -CFLAGS="$RPM_OPT_FLAGS -fsigned-char" -%endif make check %install @@ -94,6 +94,12 @@ fi %exclude %{_mandir}/man5/locatedb.5* %changelog +* Sat Feb 26 2022 shixuantong - 2:4.8.0-3 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix test_localeconv fail in aarch64 machine + * Tue Dec 21 2021 shixuantong - 2:4.8.0-2 - Type:bugfix - ID:NA -- Gitee