revert compression of the dictionaries as the performance penalty is too big

This commit is contained in:
Tomas Mraz 2013-08-28 11:38:35 +02:00
parent a483b3bf78
commit 247f79b137

View File

@ -5,7 +5,7 @@
Summary: A password-checking library
Name: cracklib
Version: 2.9.0
Release: 3%{?dist}
Release: 4%{?dist}
Group: System Environment/Libraries
Source0: http://prdownloads.sourceforge.net/cracklib/cracklib-%{version}.tar.gz
@ -170,7 +170,7 @@ done
rm -f $RPM_BUILD_ROOT/top
if test %{dictpath} != %{_libdir}/cracklib_dict ; then
ln -s $toprelpath%{dictpath}.hwm $RPM_BUILD_ROOT/%{_libdir}/cracklib_dict.hwm
ln -s $toprelpath%{dictpath}.pwd.gz $RPM_BUILD_ROOT/%{_libdir}/cracklib_dict.pwd.gz
ln -s $toprelpath%{dictpath}.pwd $RPM_BUILD_ROOT/%{_libdir}/cracklib_dict.pwd
ln -s $toprelpath%{dictpath}.pwi $RPM_BUILD_ROOT/%{_libdir}/cracklib_dict.pwi
fi
rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/_cracklib*.*a
@ -185,7 +185,6 @@ fi
if ! test -s $RPM_BUILD_ROOT/%{_mandir}/man8/cracklib-unpacker.8 ; then
echo .so man8/cracklib-format.8 > $RPM_BUILD_ROOT/%{_mandir}/man8/cracklib-unpacker.8
fi
gzip -9v $RPM_BUILD_ROOT/%{_datadir}/cracklib/*.pwd
%find_lang %{name}
@ -257,6 +256,9 @@ EOF
%{_libdir}/../lib/python*/site-packages/*.py*
%changelog
* Wed Aug 28 2013 Tomáš Mráz <tmraz@redhat.com> - 2.9.0-4
- revert compression of the dictionaries as the performance penalty is too big
* Wed Aug 21 2013 Tomáš Mráz <tmraz@redhat.com> - 2.9.0-3
- fix the python module to work with compressed dictionaries (#972542)
- fix various dictionary lookup errors (#986400, #986401)