From a51499d32a86eda74894890a038d35e013831ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=B6=85=E4=B8=9C?= Date: Wed, 16 Apr 2025 11:49:20 +0800 Subject: [PATCH] support sw Project:TC2024110202 --- coreutils.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/coreutils.spec b/coreutils.spec index a1fabcb..822c43b 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -1,4 +1,4 @@ -%define anolis_release 4 +%define anolis_release 5 Summary: A set of basic GNU tools commonly used in shell scripts Name: coreutils Version: 9.4 @@ -110,6 +110,10 @@ sed -i "/inotify-dir-recreate.sh/d" tests/local.mk %build autoreconf -fiv +%ifarch sw_64 +cp -fv /usr/lib/rpm/%{_vendor}/config.guess build-aux/ +cp -fv /usr/lib/rpm/%{_vendor}/config.sub build-aux/ +%endif export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fpic" # Upstream suggests to build with -Dlint for static analyzers: @@ -230,6 +234,9 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir %doc NEWS README THANKS TODO %changelog +* Wed Apr 16 2025 chaodong - 9.4-5 +- support sw + * Fri Jan 19 2024 Chang Gao - 9.4-4 - Rebuild because of the builder time offset incorrect -- Gitee