- fix errors rebuilding with libtool that's newer than the one upstream has

(#467364)
This commit is contained in:
Nalin Dahyabhai 2008-10-28 17:35:23 +00:00
parent a43d24359a
commit edf74ee84e
2 changed files with 21 additions and 2 deletions

View File

@ -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

View File

@ -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 <nalin@redhat.com> - 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 <rel-eng@fedoraproject.org> - 2.8.12-2
- Autorebuild for GCC 4.3