diff --git a/SOURCES/0001-Fix-Russian-translation.patch b/SOURCES/0001-Fix-Russian-translation.patch new file mode 100644 index 0000000..10160c0 --- /dev/null +++ b/SOURCES/0001-Fix-Russian-translation.patch @@ -0,0 +1,40 @@ +From 0d07891ec991d1a3acb80f098d5a1b3ea3ad1480 Mon Sep 17 00:00:00 2001 +From: Sergey Cherevko +Date: Thu, 14 Mar 2024 14:10:47 +0300 +Subject: [PATCH] Fix Russian translation + +--- + po/ru.po | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/po/ru.po b/po/ru.po +index 0332308..9900c36 100644 +--- a/po/ru.po ++++ b/po/ru.po +@@ -43,7 +43,7 @@ msgid "Password: " + msgstr "Пароль: " + + #: libpam/pam_get_authtok.c:41 +-#, fuzzy, c-format ++#, c-format + msgid "Current %s%spassword: " + msgstr "Новый пароль %s%s: " + +@@ -545,14 +545,12 @@ msgstr "" + "Срок действия учетной записи истек; обратитесь к системному администратору" + + #: modules/pam_unix/pam_unix_acct.c:261 +-#, fuzzy + msgid "" + "You are required to change your password immediately (administrator enforced)" + msgstr "" + "Вам необходимо немедленно сменить пароль (в принудительном режиме root)" + + #: modules/pam_unix/pam_unix_acct.c:267 +-#, fuzzy + msgid "You are required to change your password immediately (password expired)" + msgstr "Вам необходимо немедленно сменить пароль (пароль устарел)" + +-- +2.39.3 + diff --git a/SPECS/pam.spec b/SPECS/pam.spec index 7daf304..1b8e0fd 100644 --- a/SPECS/pam.spec +++ b/SPECS/pam.spec @@ -3,7 +3,7 @@ Summary: An extensible library which provides authentication for applications Name: pam Version: 1.3.1 -Release: 27%{?dist} +Release: 27%{?dist}.inferit # The library is BSD licensed with option to relicense as GPLv2+ # - this option is redundant as the BSD license allows that anyway. # pam_timestamp, pam_loginuid, and pam_console modules are GPLv2+. @@ -101,6 +101,8 @@ Patch64: pam-1.5.1-pam-faillock-avoid-logging-erroneous.patch # https://github.com/linux-pam/linux-pam/commit/80bfda5962e5be3daa70e0fc8c75fc97d1c55121 Patch65: pam-1.3.1-pam-misc-configurable.patch +Patch1000: 0001-Fix-Russian-translation.patch + %define _pamlibdir %{_libdir} %define _moduledir %{_libdir}/security %define _secconfdir %{_sysconfdir}/security @@ -213,6 +215,7 @@ cp %{SOURCE18} . %patch63 -p1 -b .pam-faillock-clarify-missing-user %patch64 -p1 -b .pam-faillock-avoid-logging-erroneous %patch65 -p1 -b .pam-misc-configurable +%patch1000 -p1 autoreconf -i @@ -229,6 +232,7 @@ autoreconf -i %endif --disable-static \ --disable-prelude +rm -rf %{_builddir}/Linux-PAM-%{version}/po/*.gmo make -C po update-gmo make # we do not use _smp_mflags because the build of sources in yacc/flex fails @@ -466,6 +470,10 @@ done %doc doc/specs/rfc86.0.txt %changelog +* Thu Mar 14 2024 Sergey Cherevko - 1.3.1-27.inferit +- Fix Russian translation +- Rebuilt for MSVSphere 8.9 + * Wed Jul 26 2023 MSVSphere Packaging Team - 1.3.1-27 - Rebuilt for MSVSphere 8.8