[cracklib/f20] revert compression of the dictionaries as the performance penalty is too big

Tomáš Mráz tmraz at fedoraproject.org
Wed Aug 28 09:38:48 UTC 2013


commit 247f79b13732ed95bbf5bda9eff9859368a1d317
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date:   Wed Aug 28 11:38:35 2013 +0200

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

 cracklib.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/cracklib.spec b/cracklib.spec
index 5db14ef..9688d9e 100644
--- a/cracklib.spec
+++ b/cracklib.spec
@@ -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 at 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 at redhat.com> - 2.9.0-3
 - fix the python module to work with compressed dictionaries (#972542)
 - fix various dictionary lookup errors (#986400, #986401)


More information about the scm-commits mailing list