diff --git a/hunspell-ac.patch b/hunspell-ac.patch new file mode 100644 index 0000000..02cdcf1 --- /dev/null +++ b/hunspell-ac.patch @@ -0,0 +1,10 @@ +--- configure.ac ++++ configure.ac +@@ -16,6 +16,7 @@ AC_SUBST(HUNSPELL_VERSION_MAJOR) + AC_SUBST(HUNSPELL_VERSION_MINOR) + + # library version ++m4_pattern_allow([^LT_(CURRENT|REVISION|AGE)$])dnl + LT_CURRENT=1 + LT_REVISION=0 + LT_AGE=0 diff --git a/hunspell.changes b/hunspell.changes index d9a1e03..7af2452 100644 --- a/hunspell.changes +++ b/hunspell.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 15 10:50:31 CEST 2008 - schwab@suse.de + +- Avoid libtool namespace clash. + ------------------------------------------------------------------- Sun Apr 13 19:15:51 CEST 2008 - lmichnovic@suse.cz diff --git a/hunspell.spec b/hunspell.spec index 4387e85..2e979b8 100644 --- a/hunspell.spec +++ b/hunspell.spec @@ -13,12 +13,13 @@ Summary: Hunspell - a spell checker and morphological analyzer library Name: hunspell Version: 1.2.2 -Release: 1 +Release: 3 License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL) Group: System/Libraries Source0: %{name}-1.2.2.tar.bz2 Patch1: %{name}-uninitialised.patch Patch2: %{name}-function_address.patch +Patch3: %{name}-ac.patch Url: http://hunspell.sourceforge.net/ BuildRequires: autoconf >= 2.59 BuildRequires: ncurses-devel >= 5.0 @@ -89,12 +90,11 @@ Authors: %setup -q -n %{name}-1.2.2 %patch1 %patch2 +%patch3 %build -%{__libtoolize} -%{__aclocal} -I m4 -%{__autoconf} -%{__automake} +cp /usr/share/gettext/config.rpath . +AUTOPOINT=true autoreconf -fi export CPPFLAGS="$RPM_OPT_FLAGS -I/usr/include/ncurses" %configure \ --with-ui \ @@ -152,6 +152,8 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libhunspell-*.a %changelog +* Tue Apr 15 2008 schwab@suse.de +- Avoid libtool namespace clash. * Sun Apr 13 2008 lmichnovic@suse.cz - update to 1.2.2 final * extended dictionary (dic file) support to use multiple base and