!222 [sync] PR-221: modify cp to /usr/bin/cp

From: @openeuler-sync-bot 
Reviewed-by: @jiayi0118 
Signed-off-by: @jiayi0118
This commit is contained in:
openeuler-ci-bot 2025-04-02 06:55:45 +00:00 committed by Gitee
commit f4360ec91e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: coreutils
Version: 9.4
Release: 14
Release: 15
License: GPLv3+
Summary: A set of basic GNU tools commonly used in shell scripts
Url: https://www.gnu.org/software/coreutils/
@ -95,8 +95,8 @@ find tests -name '*.sh' -perm 0644 -print -exec chmod 0755 '{}' '+'
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/
/usr/bin/cp -fv /usr/lib/rpm/%{_vendor}/config.guess build-aux/
/usr/bin/cp -fv /usr/lib/rpm/%{_vendor}/config.sub build-aux/
%endif
%build
@ -187,6 +187,9 @@ fi
%{_mandir}/man*/*
%changelog
* Mon Mar 24 2025 mahailiang <mahailiang@uniontech.com> - 9.4-15
- modify cp to /usr/bin/cp
* Mon Mar 17 2025 yixiangzhike <yixiangzhike007@163.com> - 9.4-14
- backport upstream patches
fix cat bug appearing in conjunction with gawk