[SCM] Debian packaging of Net-Z3950-Simple2ZOOM CPAN distribution branch, master, updated. upstream/1.04-8-gd23534a

Ben Webb bjwebb67 at googlemail.com
Tue Aug 9 19:39:34 UTC 2011


The following commit has been merged in the master branch:
commit d23534a507ec7da39c7612ca74a7f7cf46996e9f
Author: Ben Webb <bjwebb67 at googlemail.com>
Date:   Tue Aug 9 18:59:30 2011 +0000

    Fix dependencies

diff --git a/debian/changelog b/debian/changelog
index 30b9dfe..0fc6c6b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,15 +1,5 @@
 libnet-z3950-simple2zoom-perl (1.04-1) UNRELEASED; urgency=low
 
-  TODO:
-  - d/control:
-    + move libyaz4-dev | libyaz-dev from B-D tp B-D-I
-      and: is it really needed? I see nothing compiled here
-      oh, it's used in Makefile.PL. which seems a bit silly, since it only
-      checks the version which we can enforce ourselves ...
-      (so we can either patch that out. or simply live with it.)
-    + why libyaz in Depends? nothing compiled, nothing linking ...
-  - etc/* could probably be installed as examples
-
   * Initial Release. (closes: #636379)
 
  -- Ben Webb <bjwebb67 at googlemail.com>  Tue, 09 Aug 2011 13:07:31 +0000
diff --git a/debian/control b/debian/control
index 112063f..7826621 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libnet-z3950-simple2zoom-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 8), libyaz4-dev | libyaz-dev
+Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: perl,
  libmarc-record-perl,
  libmarc-xml-perl,
@@ -28,8 +28,7 @@ Depends: ${misc:Depends}, ${perl:Depends},
  liburi-perl,
  libwww-perl,
  libxml-libxml-perl,
- libxml-simple-perl,
- libyaz4
+ libxml-simple-perl
 Description: gateway between Z39.50 and SRU/SRW
  The Net::Z3950::Simple2ZOOM module provides all the application logic of a
  generic "Swiss Army Gateway" between Z39.50 and SRU. It is used by the
diff --git a/debian/libnet-z3950-simple2zoom-perl.examples b/debian/libnet-z3950-simple2zoom-perl.examples
new file mode 100644
index 0000000..228f781
--- /dev/null
+++ b/debian/libnet-z3950-simple2zoom-perl.examples
@@ -0,0 +1 @@
+etc/*
\ No newline at end of file
diff --git a/debian/patches/makefile.patch b/debian/patches/makefile.patch
new file mode 100644
index 0000000..faa32d9
--- /dev/null
+++ b/debian/patches/makefile.patch
@@ -0,0 +1,29 @@
+Description: remove version check, to avoid extra dependency
+ This check is not necessary for debian packaging, as the required version is
+ present in all currently supported suites.
+Origin: vendor
+Forwarded: not-needed
+Author: Ben Webb <bjwebb67 at googlemail.com>
+Last-Update: 2011-08-09
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -4,18 +4,6 @@
+ use ExtUtils::MakeMaker;
+ use strict;
+ 
+-my $yazver = `yaz-config --version`;
+-if (!$yazver) {
+-    die qq[
+-ERROR: Unable to call script: yaz-config
+-If you are using a YAZ installation from the Debian package "yaz", you
+-will also need to install "libyaz-dev" in order to build this module.
+-];
+-}
+-
+-chomp($yazver);
+-check_version($yazver, "3.0.10");
+-
+ WriteMakefile(
+     NAME          => 'Net::Z3950::Simple2ZOOM',
+     VERSION_FROM  => 'lib/Net/Z3950/Simple2ZOOM.pm', # finds $VERSION
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..82374e5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+makefile.patch

-- 
Debian packaging of Net-Z3950-Simple2ZOOM CPAN distribution



More information about the Pkg-perl-cvs-commits mailing list