coreutils: fix typo in zh_CN.po

(cherry picked from commit ea339237dd9f440527a6109f924e74de0c220f2a)
This commit is contained in:
jcg 2023-11-28 17:13:04 +08:00 committed by openeuler-sync-bot
parent 9c2855debc
commit 5dcb672798
2 changed files with 31 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: coreutils Name: coreutils
Version: 9.0 Version: 9.0
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/
@ -40,6 +40,7 @@ Patch25: backport-who-don-t-crash-if-clock-gyrates.patch
Patch26: backport-doc-od-strings-clarify-operation.patch Patch26: backport-doc-od-strings-clarify-operation.patch
Patch27: backport-wc-port-to-kernels-that-disable-XSAVE-YMM.patch Patch27: backport-wc-port-to-kernels-that-disable-XSAVE-YMM.patch
Patch28: test-skip-overlay-filesystem-because-of-no-inotify_add_watch.patch Patch28: test-skip-overlay-filesystem-because-of-no-inotify_add_watch.patch
Patch29: fix-typo-in-zh_CN.patch
%ifarch sw_64 %ifarch sw_64
Patch13: coreutils-9.0-sw.patch Patch13: coreutils-9.0-sw.patch
@ -91,6 +92,8 @@ find tests -name '*.sh' -perm 0644 -print -exec chmod 0755 '{}' '+'
autoreconf -fiv autoreconf -fiv
msgfmt -o po/zh_CN.gmo po/zh_CN.po ||:
%build %build
if [ %user = root ]; then if [ %user = root ]; then
export FORCE_UNSAFE_CONFIGURE=1 export FORCE_UNSAFE_CONFIGURE=1
@ -168,6 +171,9 @@ fi
%{_mandir}/man*/* %{_mandir}/man*/*
%changelog %changelog
* Thu Nov 28 2023 jiangchuangang <jiangchuangang@huawei.com> - 9.0-13
- fix typo in zh_CN.po
* Sat Nov 25 2023 jiangchuangang <jiangchuangang@huawei.com> - 9.0-12 * Sat Nov 25 2023 jiangchuangang <jiangchuangang@huawei.com> - 9.0-12
- skip testcase for overlay filesystem because of no inotify_add_watch - skip testcase for overlay filesystem because of no inotify_add_watch
add test-skip-overlay-filesystem-because-of-no-inotify_add_watch.patch add test-skip-overlay-filesystem-because-of-no-inotify_add_watch.patch

24
fix-typo-in-zh_CN.patch Normal file
View File

@ -0,0 +1,24 @@
From 5bc6bb2956c1a5dfca5a00b49f56441a76054c89 Mon Sep 17 00:00:00 2001
From: jiangchuangang <jiangchuangang@huawei.com>
Date: Thu, 9 Nov 2023 10:43:07 +0800
Subject: [PATCH] fix typo
---
po/zh_CN.po | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/po/zh_CN.po b/po/zh_CN.po
index c422028..177d014 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -12332,7 +12332,7 @@ msgstr ""
" -v, --kernel-version 输出内核版本\n"
" -m, --machine 输出主机的硬件架构名称\n"
" -p, --processor 输出处理器类型(不可移植)\n"
-" -i, --hardware-platform 输出硬件平台或(不可移植)\n"
+" -i, --hardware-platform 输出硬件平台(不可移植)\n"
" -o, --operating-system 输出操作系统名称\n"
#: src/uname.c:144
--
2.36.1