modify cp to /usr/bin/cp

(cherry picked from commit a00513fb54bc9cdcc5dd91ba91f67d7caf8c276c)
This commit is contained in:
Hailiang 2025-03-24 18:07:13 +08:00 committed by openeuler-sync-bot
parent ba12e50cbe
commit d8b9fda2f5

View File

@ -1,6 +1,6 @@
Name: coreutils Name: coreutils
Version: 9.4 Version: 9.4
Release: 14 Release: 15
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/
@ -95,8 +95,8 @@ find tests -name '*.sh' -perm 0644 -print -exec chmod 0755 '{}' '+'
autoreconf -fiv autoreconf -fiv
%ifarch sw_64 %ifarch sw_64
cp -fv /usr/lib/rpm/%{_vendor}/config.guess build-aux/ /usr/bin/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.sub build-aux/
%endif %endif
%build %build
@ -187,6 +187,9 @@ fi
%{_mandir}/man*/* %{_mandir}/man*/*
%changelog %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 * Mon Mar 17 2025 yixiangzhike <yixiangzhike007@163.com> - 9.4-14
- backport upstream patches - backport upstream patches
fix cat bug appearing in conjunction with gawk fix cat bug appearing in conjunction with gawk