From: mike Date: Mon, 26 Feb 2007 14:36:11 +0000 (+0000) Subject: Bump version to 1.18 X-Git-Tag: cpan_1_22~71 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=d7a1cc281d05b9a152c3f71d71449775d601002e;p=ZOOM-Perl-moved-to-github.git Bump version to 1.18 Bump required YAZ version all the way from 2.1.21 to 2.1.50. This check should perhaps be removed altogether, since it is redundant with that in Makefile.PL, but it's possible someone might install a binary that was built elsewhere, and run into this. --- diff --git a/lib/Net/Z3950/ZOOM.pm b/lib/Net/Z3950/ZOOM.pm index 88d8d28..49ec94f 100644 --- a/lib/Net/Z3950/ZOOM.pm +++ b/lib/Net/Z3950/ZOOM.pm @@ -1,4 +1,4 @@ -# $Id: ZOOM.pm,v 1.32 2007-02-13 15:30:51 mike Exp $ +# $Id: ZOOM.pm,v 1.33 2007-02-26 14:36:11 mike Exp $ package Net::Z3950::ZOOM; @@ -6,17 +6,17 @@ use 5.008; use strict; use warnings; -our $VERSION = '1.17'; +our $VERSION = '1.18'; require XSLoader; XSLoader::load('Net::Z3950::ZOOM', $VERSION); my($vs, $ss) = ("x" x 100, "x" x 100); # allocate space for these strings my $version = Net::Z3950::ZOOM::yaz_version($vs, $ss); -if ($version < 0x020115 && ! -f "/tmp/ignore-ZOOM-YAZ-version-mismatch") { +if ($version < 0x020132 && ! -f "/tmp/ignore-ZOOM-YAZ-version-mismatch") { warn <<__EOT__; *** WARNING! -ZOOM-Perl requires at least version 2.1.21 of YAZ, but is currently +ZOOM-Perl requires at least version 2.1.50 of YAZ, but is currently running against only version $vs (sys-string '$ss'). Some things may not work. __EOT__