fix tests
This commit is contained in:
parent
004d1cff2d
commit
4feeff5690
13
hunspell-1.2.8-2826164.fixtests.patch
Normal file
13
hunspell-1.2.8-2826164.fixtests.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- hunspell-1.2.8.orig/tests/test.sh 2009-07-23 19:19:57.000000000 +0100
|
||||
+++ hunspell-1.2.8/tests/test.sh 2009-07-23 19:20:45.000000000 +0100
|
||||
@@ -33,8 +33,8 @@
|
||||
|
||||
shopt -s expand_aliases
|
||||
|
||||
-alias hunspell='../src/tools/hunspell'
|
||||
-alias analyze='../src/tools/analyze'
|
||||
+alias hunspell='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/hunspell'
|
||||
+alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/analyze'
|
||||
|
||||
if [ "$VALGRIND" != "" ]; then
|
||||
rm -f $TEMPDIR/test.pid*
|
@ -13,6 +13,7 @@ BuildRequires: libtool, ncurses-devel
|
||||
Patch1: hunspell-1.2.7-2314461.ispell-alike.patch
|
||||
Patch2: hunspell-1.2.8-2784983.defaultlanguage.patch
|
||||
Patch3: hunspell-1.2.8-2812045.warnings.fortify.patch
|
||||
Patch4: hunspell-1.2.8-2826164.fixtests.patch
|
||||
|
||||
%description
|
||||
Hunspell is a spell checker and morphological analyzer library and program
|
||||
@ -33,6 +34,7 @@ Includes and definitions for developing with hunspell
|
||||
%patch1 -p1 -b .ispell-alike.patch
|
||||
%patch2 -p1 -b .defaultlanguage.patch
|
||||
%patch3 -p1 -b .warnings.fortify.patch
|
||||
%patch4 -p1 -b .fixtests.patch
|
||||
# Filter unwanted Requires for the "use explicitely" string in ispellaff2myspell
|
||||
cat << \EOF > %{name}-req
|
||||
#!/bin/sh
|
||||
@ -123,7 +125,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/hunspell.3.gz
|
||||
|
||||
%changelog
|
||||
* Wed Jul 22 2009 Caolan McNamara <caolanm@redhat.com> - 1.2.8-10
|
||||
* Thu Jul 23 2009 Caolan McNamara <caolanm@redhat.com> - 1.2.8-10
|
||||
- run tests in check
|
||||
|
||||
* Thu Jul 09 2009 Caolan McNamara <caolanm@redhat.com> - 1.2.8-9
|
||||
|
Loading…
Reference in New Issue
Block a user