diff --git a/SOURCES/libpwquality-1.4.4-rhel8-i18n.patch b/SOURCES/libpwquality-1.4.4-rhel8-i18n.patch new file mode 100644 index 0000000..420d2c9 --- /dev/null +++ b/SOURCES/libpwquality-1.4.4-rhel8-i18n.patch @@ -0,0 +1,23 @@ +diff -up libpwquality-1.4.4/po/ja.po.nodot libpwquality-1.4.4/po/ja.po +--- libpwquality-1.4.4/po/ja.po.nodot 2022-08-30 14:32:17.009800325 +0200 ++++ libpwquality-1.4.4/po/ja.po 2022-08-30 14:32:29.162910025 +0200 +@@ -212,7 +212,7 @@ msgstr "パスワードの生成に失� + + #: src/error.c:114 src/error.c:117 + msgid "The password fails the dictionary check" +-msgstr "このパスワードは辞書チェックに失敗しました。" ++msgstr "このパスワードは辞書チェックに失敗しました" + + #: src/error.c:120 src/error.c:124 + msgid "Unknown setting" +diff -up libpwquality-1.4.4/po/Makefile.in.in.rhel9-i18n libpwquality-1.4.4/po/Makefile.in.in +--- libpwquality-1.4.4/po/Makefile.in.in.rhel9-i18n 2021-08-04 16:36:32.050503801 +0200 ++++ libpwquality-1.4.4/po/Makefile.in.in 2021-08-04 16:37:17.722885954 +0200 +@@ -97,6 +97,7 @@ CATALOGS = @CATALOGS@ + + + all: all-@USE_NLS@ ++ $(MAKE) *.gmo + + all-yes: stamp-po + all-no: diff --git a/SPECS/libpwquality.spec b/SPECS/libpwquality.spec index b849919..a21e230 100644 --- a/SPECS/libpwquality.spec +++ b/SPECS/libpwquality.spec @@ -15,12 +15,14 @@ Summary: A library for password generation and password quality checking Name: libpwquality Version: 1.4.4 -Release: 3%{?dist} +Release: 6%{?dist} # The package is BSD licensed with option to relicense as GPLv2+ # - this option is redundant as the BSD license allows that anyway. License: BSD or GPLv2+ Source0: https://github.com/libpwquality/libpwquality/releases/download/libpwquality-%{version}/libpwquality-%{version}.tar.bz2 +Patch100: libpwquality-1.4.4-rhel8-i18n.patch + %global _pwqlibdir %{_libdir} %global _moduledir %{_libdir}/security %global _secconfdir %{_sysconfdir}/security @@ -91,6 +93,7 @@ pronounceable passwords from Python applications. rm -rf %{py3dir} cp -a . %{py3dir} %endif +%patch100 -p1 -b .nodot %build %if %{with python2} @@ -178,6 +181,16 @@ mkdir $RPM_BUILD_ROOT%{_secconfdir}/pwquality.conf.d %endif %changelog +* Tue Feb 14 2023 Dmitry Belyavskiy - 1.4.4-6 +- rebuilt + +* Mon Feb 13 2023 Dmitry Belyavskiy - 1.4.4-5 +- rebuilt + +* Tue Aug 30 2022 Dmitry Belyavskiy - 1.4.4-4 +- Japan translation update (remove extra dot) + Resolves: rhbz#2122609 + * Mon Feb 22 2021 Dmitry Belyavskiy - 1.4.4-3 - Resolves: rhbz#1919026 libpwquaily rpm requires cracklib to function but RPM missing requirement [updated]