--- /dev/null
+--- swish-e-2.4.7.orig/perl/API.pm
++++ swish-e-2.4.7/perl/API.pm
+@@ -2,7 +2,7 @@
+
+ # $Id: API.pm 2499 2009-10-04 03:34:07Z karpet $
+
+-use vars qw/ @ISA $VERSION /;
++use vars qw/ @ISA $VERSION/;
+
+ $VERSION = '0.04_01';
+
+@@ -31,7 +31,17 @@
+ return $m;
+ }
+
+-CL: for my $class ( grep { m/::$/ } keys %SWISH::API:: )
++# Fix for Debian Bug #422609
++@moduleslist = (
++ "MetaName::",
++ "Search::",
++ "PropertyName::",
++ "Results::",
++ "FuzzyWord::",
++ "Result::",
++);
++
++CL: for my $class ( @moduleslist )
+ {
+ local *c = $SWISH::API::{$class};
+ METH: foreach my $meth ( keys %c ) {
Source0: http://swish-e.org/swish-daily/%{name}-%{version}-%{snap}.tar.gz
# Source0-md5: c6b918413382ff61eb5e224c8b4c6f7d
Patch0: format-security.patch
+Patch1: namespace.patch
URL: http://swish-e.org/
#Icon: swish-e.xpm
BuildRequires: libxml2-devel
%prep
%setup -q -n %{name}-%{version}-%{snap}
%patch0 -p1
+%patch1 -p1
%build
%configure \