r64183 - in /trunk/libapache2-reload-perl/debian: changelog control rules

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Sat Oct 23 12:54:00 UTC 2010


Author: periapt-guest
Date: Sat Oct 23 12:53:46 2010
New Revision: 64183

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=64183
Log:
* Upped debhelper dependency to 7.0.50~ for overrides
* Modernized build rules

Modified:
    trunk/libapache2-reload-perl/debian/changelog
    trunk/libapache2-reload-perl/debian/control
    trunk/libapache2-reload-perl/debian/rules

Modified: trunk/libapache2-reload-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache2-reload-perl/debian/changelog?rev=64183&op=diff
==============================================================================
--- trunk/libapache2-reload-perl/debian/changelog (original)
+++ trunk/libapache2-reload-perl/debian/changelog Sat Oct 23 12:53:46 2010
@@ -18,6 +18,8 @@
   * New upstream release
   * echo '3.0 (quilt)' > debian/source/format
   * Added patch for spelling mistake
+  * Upped debhelper dependency to 7.0.50~ for overrides
+  * Modernized build rules
 
  -- Nicholas Bamber <nicholas at periapt.co.uk>  Wed, 20 Oct 2010 23:28:36 +0100
 

Modified: trunk/libapache2-reload-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache2-reload-perl/debian/control?rev=64183&op=diff
==============================================================================
--- trunk/libapache2-reload-perl/debian/control (original)
+++ trunk/libapache2-reload-perl/debian/control Sat Oct 23 12:53:46 2010
@@ -1,7 +1,7 @@
 Source: libapache2-reload-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7.0.50~)
 Build-Depends-Indep: perl (>= 5.6.10-12), libapache2-mod-perl2,
  libapache2-mod-perl2-dev, apache2, apache2-threaded-dev|apache2-prefork-dev
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>

Modified: trunk/libapache2-reload-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache2-reload-perl/debian/rules?rev=64183&op=diff
==============================================================================
--- trunk/libapache2-reload-perl/debian/rules (original)
+++ trunk/libapache2-reload-perl/debian/rules Sat Oct 23 12:53:46 2010
@@ -4,10 +4,10 @@
 TMP  := $(CURDIR)/debian/$(PKG)
 PERL ?= /usr/bin/perl
 
-build: build-stamp
-build-stamp:
-	dh build --before configure
-	
+%:
+	dh $@
+
+override_dh_auto_configure:
 	sh -c ' \
 	    if [ "$${USER:-}" = "root" ]; then	\
 	    	user=www-data;			\
@@ -21,8 +21,8 @@
 	    APACHE_TEST_USER=$$user \
 		$(PERL) Makefile.PL INSTALLDIRS=vendor;'
 	
-	dh build --after configure --before test
-	
+
+override_dh_auto_test:
 	sh -c ' \
 	    if [ "$${USER:-}" = "root" ]; then	\
 	    	user=www-data;			\
@@ -35,21 +35,13 @@
 	    APACHE_TEST_APXS=/usr/bin/apxs2 \
 	    APACHE_TEST_USER=$$user \
 		$(MAKE) test;'
-	
-	dh build --after test
-	
-	touch $@
 
-binary-indep clean:
-	dh $@
+override_dh_install:
+	dh_install
+	rm -rv $(TMP)/usr/share/perl5/Apache
 
-binary: build
-	dh $@ --until install
-	rm -rv $(TMP)/usr/share/perl5/Apache
-	rm -v $(TMP)/usr/share/man/man3/Apache::Reload.3pm.gz
-	dh $@ --remaining
+override_dh_installman:
+	dh_installman
+	rm -v $(TMP)/usr/share/man/man3/Apache::Reload.3pm
 
-# nothing here for arch-indep package
-binary-arch:
 
-.PHONY: build clean binary-indep binary-arch binary




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