From b7223998714be8ebf5276d5ad5339b4fcc1da971 Mon Sep 17 00:00:00 2001 From: jinzhiguang Date: Tue, 30 Apr 2024 13:07:24 +0800 Subject: [PATCH] Correct the translation file of zh_CN in plugins/sudoers. Signed-off-by: jinzhiguang --- sudo.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sudo.spec b/sudo.spec index cec1abe..a340a37 100644 --- a/sudo.spec +++ b/sudo.spec @@ -1,6 +1,6 @@ Name: sudo Version: 1.9.15p5 -Release: 1 +Release: 2 Summary: Allows restricted root access for specified users License: ISC URL: https://www.sudo.ws @@ -38,6 +38,10 @@ plugins that use %{name}. %prep %autosetup -n %{name}-%{version} -p1 +pushd plugins/sudoers/po +sed -i 's/%s 不是 sudoers 文件。/%s 不在 sudoers 文件中。/g' zh_CN.po +msgfmt zh_CN.po -o zh_CN.mo +popd %build autoreconf -I m4 -fv --install @@ -155,6 +159,9 @@ chrpath -d $RPM_BUILD_ROOT/usr/libexec/sudo/* %exclude %{_pkgdocdir}/ChangeLog %changelog +* Tue Apr 30 2024 jinzhiguang - 1.9.15p5-2 +- Fix the translation file of zh_CN. + * Mon Jan 8 2024 wangqingsan - 1.9.15p5-1 - Upgrade to 1.9.15p5 -- Gitee