[SCM] Packaging of IO::Socket::INET6 in Debian branch, master, updated. libio-socket-inet6-perl_debian/2.69-1-9-gdfd3fff

gregor herrmann gregoa at debian.org
Fri Dec 9 19:56:43 UTC 2011


The following commit has been merged in the master branch:
commit 382653c0aa34ca8fea2b12ec030169b9f379f0ae
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Dec 9 20:44:27 2011 +0100

    Add build dependency on netbase (debian/control) and check if localhost
    exists before running tests (debian/rules).
    
    Closes: #651537
    Thanks: Daniel Schepler for the bug report

diff --git a/debian/control b/debian/control
index 4615fd6..3f9f603 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,8 @@ Build-Depends: debhelper (>= 7)
 Build-Depends-Indep:
  perl (>= 5.8.0-7),
  libsocket6-perl (>= 0.12),
- libtest-pod-perl
+ libtest-pod-perl,
+ netbase
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders:
  Daniel Kahn Gillmor <dkg at fifthhorseman.net>,
diff --git a/debian/rules b/debian/rules
index cbe925d..29fdfe2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,8 @@
 #!/usr/bin/make -f
+
 %:
 	dh $@
+
+override_dh_auto_test:
+	perl -MNet::Ping -e 'exit (Net::Ping->new()->ping("127.0.0.1", 1));' \
+		|| dh_auto_test

-- 
Packaging of IO::Socket::INET6 in Debian



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