8
0
Stephan Kulow
2011-04-01 18:13:13 +00:00
committed by Git OBS Bridge
parent 2d0dcf93b9
commit 488f9d15ff
2 changed files with 15 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
Index: Text-Hunspell-2.02/Makefile.PL
===================================================================
--- Text-Hunspell-2.02.orig/Makefile.PL 2010-10-24 13:23:11.000000000 +0200
+++ Text-Hunspell-2.02/Makefile.PL 2011-04-01 20:04:27.688784790 +0200
+++ Text-Hunspell-2.02/Makefile.PL 2011-04-01 20:11:18.887713482 +0200
@@ -11,8 +11,8 @@ use Devel::CheckLib;
my $dlext = $Config{dlext} || 'so';
my $candidate_lib;
@@ -31,3 +31,16 @@ Index: Text-Hunspell-2.02/Makefile.PL
CC => $CC,
LD => '$(CC)',
PREREQ_PM => {}, # e.g., Module::Name => 1.1
Index: Text-Hunspell-2.02/t/00-prereq.t
===================================================================
--- Text-Hunspell-2.02.orig/t/00-prereq.t 2010-10-24 13:02:27.000000000 +0200
+++ Text-Hunspell-2.02/t/00-prereq.t 2011-04-01 20:11:53.159207337 +0200
@@ -4,7 +4,7 @@ use lib qw(inc ../inc);
use Devel::CheckLib;
check_lib_or_exit(
- lib => 'hunspell',
+ lib => 'hunspell-1.3',
header => 'hunspell/hunspell.h',
);

View File

@@ -44,6 +44,7 @@ The example code describes the interface on http://hunspell.sf.net
%patch0 -p1
%build
pkg-config --libs hunspell
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}