Package: libdbd-informix-perl
Version: 2008.0513-1
Severity: important
Tags: squeeze sid patch

Hi,

libdbd-informix-perl needs a dependency on perl-dbdabi-* provided by the
version of libdbi-perl it was build againt.  See also #577209.

I have prepared a patch to add this dependency and resolve several
lintian warnings in the package.  But I could not test building the
package as I don't have the Informix client library.

Regards,
Ansgar

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u libdbd-informix-perl-2008.0513/debian/changelog libdbd-informix-perl-2008.0513/debian/changelog
--- libdbd-informix-perl-2008.0513/debian/changelog
+++ libdbd-informix-perl-2008.0513/debian/changelog
@@ -1,3 +1,14 @@
+libdbd-informix-perl (2008.0513-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Add dependency on perl-dbdapi-* (see #577209).
+    + Needs build-dep on libdbi-perl (>= 1.610.90+is+1.609-1~).
+  * debian/control: Make build-dep on perl unversioned.
+  * debian/control: Build-dep on debhelper 7 (d/compat is 7).
+  * debian/rules: Use DESTDIR instead of PREFIX when calling make install.
+
+ -- Ansgar Burchardt <ans...@43-1.org>  Sat, 24 Apr 2010 17:45:37 +0900
+
 libdbd-informix-perl (2008.0513-1) unstable; urgency=low
 
   * This build was made with Informix version 3.50.uc1de.
diff -u libdbd-informix-perl-2008.0513/debian/control libdbd-informix-perl-2008.0513/debian/control
--- libdbd-informix-perl-2008.0513/debian/control
+++ libdbd-informix-perl-2008.0513/debian/control
@@ -3,11 +3,12 @@
 Priority: extra
 Maintainer: Roderick Schertler <roder...@argon.org>
 Standards-Version: 3.7.3
-Build-Depends: debhelper (>= 3.0.5), perl (>= 5.6.0-16), libdbi-perl (>= 1.33), libextutils-autoinstall-perl
+Build-Depends: debhelper (>= 7), perl, libdbi-perl (>= 1.610.90+is+1.609-1~), libextutils-autoinstall-perl
 
 Package: libdbd-informix-perl
 Architecture: i386
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, libdbi-perl (>= 1.33)
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends},
+ ${libdbi-perl:Depends}, libdbi-perl (>= 1.33)
 Description: Perl DBI driver for Informix
  This is a database backend driver which allows the Perl DBI to connect
  to Informix database servers.
diff -u libdbd-informix-perl-2008.0513/debian/rules libdbd-informix-perl-2008.0513/debian/rules
--- libdbd-informix-perl-2008.0513/debian/rules
+++ libdbd-informix-perl-2008.0513/debian/rules
@@ -9,6 +9,8 @@
 # with #!), so I have to make /bin/sh point at bash temporarily, or edit
 # esqlc.
 
+include /usr/share/libdbi-perl/perl-dbdabi.make
+
 export DBD_INFORMIX_ENABLE_ASSERT ?= 1
 export PERL_EXTUTILS_AUTOINSTALL  ?= --skipdeps
 
@@ -38,7 +40,7 @@
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
-	$(MAKE) install PREFIX=$(prefix)/usr
+	$(MAKE) install DESTDIR=$(prefix)
 	find $(prefix) -depth -type d -print0 | \
 	    xargs -0r rmdir --ignore-fail-on-non-empty
 	touch $@
@@ -76,7 +78,7 @@
 	dh_installdeb
 	dh_perl
 	dh_shlibdeps
-	dh_gencontrol -u -isp
+	dh_gencontrol -u -isp -- -V"libdbi-perl:Depends=libdbi-perl, $(PERL_DBDABI_DEPENDS)"
 	dh_md5sums
 	dh_builddeb
 

Reply via email to