From 813071fffab8a47aed7710be7ee32c11b2cc1bb1 Mon Sep 17 00:00:00 2001 From: Hailiang Date: Mon, 24 Mar 2025 11:05:29 +0800 Subject: [PATCH] fix sw_64 build error --- coreutils.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/coreutils.spec b/coreutils.spec index 75d4acd..bb31c71 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -1,6 +1,6 @@ Name: coreutils Version: 9.6 -Release: 2 +Release: 3 License: GPL-3.0-or-later Summary: A set of basic GNU tools commonly used in shell scripts Url: https://www.gnu.org/software/coreutils/ @@ -79,6 +79,10 @@ sed -i 's/0.19.2/0.22.5/' bootstrap.conf configure.ac %build autoreconf -fi +%ifarch sw_64 +cp -fv /usr/lib/rpm/%{_vendor}/config.guess build-aux/ +cp -fv /usr/lib/rpm/%{_vendor}/config.sub build-aux/ +%endif if [ %user = root ]; then export FORCE_UNSAFE_CONFIGURE=1 @@ -154,6 +158,9 @@ popd %{_mandir}/man*/* %changelog +* Wed Mar 12 2025 mahailiang - 9.6-3 +- fix sw_64 build error + * Sat Mar 08 2025 Funda Wang - 9.6-2 - fix 'who -m' with guessed tty names - fix cat bug appearing in conjunction with gawk -- Gitee