[SCM] Debian packaging of Apache-Singleton CPAN distribution branch, master, updated. debian/0.07-1-13-g25d2c96

gregor herrmann gregoa at debian.org
Thu Jan 19 19:05:32 UTC 2012


The following commit has been merged in the master branch:
commit a02bc089aae21dea1d34de19c90249f2dc9fc795
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Jan 19 19:59:00 2012 +0100

    Update build/runtime dependencies, enable test suite.

diff --git a/debian/control b/debian/control
index f599634..0c852c0 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,10 @@ Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Isaac Clerencia <isaac at sindominio.net>
 Build-Depends: debhelper (>= 8)
+Build-Depends-Indep: perl,
+ apache2-threaded-dev | apache2-prefork-dev,
+ libapache2-mod-perl2,
+ netbase
 Standards-Version: 3.9.2
 Homepage: http://search.cpan.org/dist/Apache-Singleton/
 Vcs-Git: git://git.debian.org/pkg-perl/packages/libapache-singleton-perl.git
@@ -11,7 +15,8 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libapache-sin
 
 Package: libapache-singleton-perl
 Architecture: all
-Depends: ${misc:Depends}, ${shlibs:Depends}
+Depends: ${misc:Depends}, ${perl:Depends},
+ libapache2-mod-perl2
 Description: Singleton class for mod_perl
  Apache::Singleton is a Perl module that provides a Singleton class suitable  
  for use with mod_perl.
diff --git a/debian/rules b/debian/rules
index 2d33f6a..ef61c14 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,24 @@
 #!/usr/bin/make -f
 
+BUILDHOME := $(CURDIR)/debian/build
+
 %:
 	dh $@
+
+override_dh_clean:
+	dh_clean
+	rm -rf $(BUILDHOME)
+
+override_dh_auto_configure:
+	APACHE_TEST_HTTPD=/usr/sbin/apache2 \
+		APACHE_TEST_APXS=/usr/bin/apxs2 \
+		APACHE_TEST_USER=www-data \
+		dh_auto_configure
+
+override_dh_auto_test:
+	mkdir -p $(BUILDHOME)
+	APACHE_TEST_HTTPD=/usr/sbin/apache2 \
+		APACHE_TEST_APXS=/usr/bin/apxs2 \
+		APACHE_TEST_USER=www-data \
+		HOME=$(BUILDHOME) \
+		dh_auto_test

-- 
Debian packaging of Apache-Singleton CPAN distribution



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