diff --git a/coreutils.spec b/coreutils.spec index a1fabcb33be2aab71fb892a5af4685c47b10710e..822c43b504614acdc6ce3155046895492e10a5d8 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