diff --git a/sudo.spec b/sudo.spec index cec1abea9922a84af85e611853a164e4cee7c16f..a340a377523c1fb1a0d901db8216ea3687d12e94 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