fix sw_64 build error

(cherry picked from commit 86324bfba9cfc5fc05ac5385041a173dea068a00)
This commit is contained in:
Hailiang 2025-03-12 16:54:00 +08:00 committed by openeuler-sync-bot
parent ff5a18e1b3
commit a776d5127c

View File

@ -1,6 +1,6 @@
Name: coreutils Name: coreutils
Version: 9.4 Version: 9.4
Release: 12 Release: 13
License: GPLv3+ License: GPLv3+
Summary: A set of basic GNU tools commonly used in shell scripts Summary: A set of basic GNU tools commonly used in shell scripts
Url: https://www.gnu.org/software/coreutils/ Url: https://www.gnu.org/software/coreutils/
@ -93,6 +93,10 @@ find tests -name '*.sh' -perm 0644 -print -exec chmod 0755 '{}' '+'
(echo "<<< done") 2>/dev/null (echo "<<< done") 2>/dev/null
autoreconf -fiv 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
%build %build
if [ %user = root ]; then if [ %user = root ]; then
@ -182,6 +186,9 @@ fi
%{_mandir}/man*/* %{_mandir}/man*/*
%changelog %changelog
* Wed Mar 12 2025 mahailiang <mahailiang@uniontech.com> - 9.4-13
- fix sw_64 build error
* Wed Mar 05 2025 hugel <gengqihu2@h-partners.com> - 9.4-12 * Wed Mar 05 2025 hugel <gengqihu2@h-partners.com> - 9.4-12
- sync patches from community - sync patches from community
- add backport-numfmt-don-t-require-a-suffix-with-from-iec-i.patch - add backport-numfmt-don-t-require-a-suffix-with-from-iec-i.patch