From edf74ee84e4b4ccab237d596e256eff133e83a3e Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Oct 28 2008 17:35:23 +0000 Subject: - fix errors rebuilding with libtool that's newer than the one upstream has (#467364) --- diff --git a/cracklib-2.8.12-gettext.patch b/cracklib-2.8.12-gettext.patch new file mode 100644 index 0000000..8608187 --- /dev/null +++ b/cracklib-2.8.12-gettext.patch @@ -0,0 +1,13 @@ +Newer autopoint chokes if we don't explicitly list a version here. +diff -up cracklib-2.8.12/configure.in cracklib-2.8.12/configure.in +--- cracklib-2.8.12/configure.in 2008-10-28 13:27:06.000000000 -0400 ++++ cracklib-2.8.12/configure.in 2008-10-28 13:27:07.000000000 -0400 +@@ -58,7 +58,7 @@ AC_CHECK_FUNCS(strdup) + AC_CHECK_FUNCS(getpwuid_r) + + dnl internationalization macros +-AM_GNU_GETTEXT_VERSION ++AM_GNU_GETTEXT_VERSION(0.14) + AM_GNU_GETTEXT([external]) + + dnl Control default dictname diff --git a/cracklib.spec b/cracklib.spec index 3a680d0..5bbaa9e 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -5,7 +5,7 @@ Summary: A password-checking library Name: cracklib Version: 2.8.12 -Release: 2 +Release: 3 Group: System Environment/Libraries Source0: http://prdownloads.sourceforge.net/cracklib/cracklib-%{version}.tar.gz @@ -46,6 +46,7 @@ Source37: pass_file.gz Patch0: cracklib-2.8.10-suffix.patch Patch1: cracklib-2.8.12-inttypes.patch Patch2: cracklib-2.8.10-docstring.patch +Patch3: cracklib-2.8.12-gettext.patch URL: http://sourceforge.net/projects/cracklib/ License: GPLv2 Buildroot: %{_tmppath}/%{name}-%{version}-root @@ -108,7 +109,8 @@ If you are installing CrackLib, you should also install cracklib-dicts. cp lib/packer.h lib/packer.h.in %patch1 -p1 -b .inttypes %patch2 -p1 -b .docstring -autoreconf +%patch3 -p1 -b .gettext +autoreconf -f -i mkdir cracklib-dicts for dict in %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} \ %{SOURCE15} %{SOURCE16} %{SOURCE17} %{SOURCE18} %{SOURCE19} \ @@ -213,6 +215,10 @@ EOF %{_libdir}/python*/site-packages/cracklibmodule.so %changelog +* Tue Oct 28 2008 Nalin Dahyabhai - 2.8.12-3 +- fix errors rebuilding with libtool that's newer than the one upstream + has (#467364) + * Tue Feb 19 2008 Fedora Release Engineering - 2.8.12-2 - Autorebuild for GCC 4.3