package libdbd-sybase-perl
tags 577513 + patch
thanks

Hi,

as the binNMUs have reached testing by now, libdbd-sybase-perl can be
updated to add a dependency on perl-dbdabi-*.  I have prepared a patch
to do this.  It also resolves several of lintian's warnings about the
packaging.

Regards,
Ansgar
diff -u libdbd-sybase-perl-1.00/debian/control libdbd-sybase-perl-1.00/debian/control
--- libdbd-sybase-perl-1.00/debian/control
+++ libdbd-sybase-perl-1.00/debian/control
@@ -1,13 +1,14 @@
 Source: libdbd-sybase-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 3.0.5), perl (>= 5.8.0-1), freetds-dev (>= 0.63-1), libdbi-perl
+Build-Depends: debhelper (>= 3.0.5), perl, freetds-dev (>= 0.63-1),
+ libdbi-perl (>= 1.610.90+is+1.609-1~)
 Maintainer: Steve Langasek <vor...@debian.org>
 Standards-Version: 3.5.3
 
 Package: libdbd-sybase-perl
 Architecture: any
-Depends: ${perl:Depends}, libdbi-perl, ${shlibs:Depends}
+Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}, ${libdbi-perl:Depends}
 Description: Sybase/MS SQL database driver for the DBI module
  DBD::Sybase is a Perl module which works with the DBI module to provide
  access to Sybase and Microsoft SQL databases.
diff -u libdbd-sybase-perl-1.00/debian/changelog libdbd-sybase-perl-1.00/debian/changelog
--- libdbd-sybase-perl-1.00/debian/changelog
+++ libdbd-sybase-perl-1.00/debian/changelog
@@ -1,3 +1,15 @@
+libdbd-sybase-perl (1.00-3.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Add dependency on perl-dbdapi-* (see #577209). (Closes: #577513)
+    + Needs build-dep on libdbi-perl (>= 1.610.90+is+1.609-1~).
+  * debian/control: Add ${misc:Depends}.
+  * debian/control: Make build-dep on perl unversioned.
+  * debian/rules: Do not ignore error from $(MAKE) realclean.
+  * debian/rules: Use DESTDIR instead of PREFIX when calling make install.
+
+ -- Ansgar Burchardt <ans...@43-1.org>  Sat, 24 Apr 2010 17:20:41 +0900
+
 libdbd-sybase-perl (1.00-3) unstable; urgency=low
 
   * Rebuild against freetds 0.63-1 (closes: #319269).
diff -u libdbd-sybase-perl-1.00/debian/rules libdbd-sybase-perl-1.00/debian/rules
--- libdbd-sybase-perl-1.00/debian/rules
+++ libdbd-sybase-perl-1.00/debian/rules
@@ -4,6 +4,8 @@
 # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
 # Some lines taken from debmake, by Christoph Lameter.
 
+include /usr/share/libdbi-perl/perl-dbdabi.make
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 export DH_COMPAT=3
@@ -42,7 +44,7 @@
 	rm -f build-stamp
 
 	# Add here commands to clean up after the build process.
-	-$(MAKE) realclean
+	[ ! -f Makefile ] || $(MAKE) realclean
 
 	dh_clean
 
@@ -54,7 +56,7 @@
 
 	# Add here commands to install the package into debian/tmp.
 	#$(MAKE) install DESTDIR=`pwd`/debian/tmp
-	$(MAKE) install PREFIX=$(TMP)/usr
+	$(MAKE) install DESTDIR=$(TMP)
 
 
 # Build architecture-independent files here.
@@ -78,7 +80,7 @@
 	dh_installdeb
 	dh_perl 
 	dh_shlibdeps
-	dh_gencontrol
+	dh_gencontrol -- -V"libdbi-perl:Depends=libdbi-perl, $(PERL_DBDABI_DEPENDS)"
 	dh_md5sums
 	dh_builddeb --destdir=$(DESTDIR)
 

Reply via email to