r30899 - in /trunk/libconfig-file-perl/debian: changelog compat control rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Fri Feb 20 13:15:54 UTC 2009


Author: dmn
Date: Fri Feb 20 13:15:50 2009
New Revision: 30899

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=30899
Log:
debian/rules converted to debhelper 7; compat/control adjusted

Modified:
    trunk/libconfig-file-perl/debian/changelog
    trunk/libconfig-file-perl/debian/compat
    trunk/libconfig-file-perl/debian/control
    trunk/libconfig-file-perl/debian/rules

Modified: trunk/libconfig-file-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-file-perl/debian/changelog?rev=30899&op=diff
==============================================================================
--- trunk/libconfig-file-perl/debian/changelog (original)
+++ trunk/libconfig-file-perl/debian/changelog Fri Feb 20 13:15:50 2009
@@ -3,6 +3,7 @@
   * add libtest-pod-perl and libtest-pod-coverage-perl to B-D-I
     Closes: #516276 -- Missing Build-Depends
     Thanks to Daniel Schepler
+  * debian/rules converted to debhelper 7; compat/control adjusted
 
  -- Damyan Ivanov <dmn at debian.org>  Fri, 20 Feb 2009 14:41:27 +0200
 

Modified: trunk/libconfig-file-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-file-perl/debian/compat?rev=30899&op=diff
==============================================================================
--- trunk/libconfig-file-perl/debian/compat (original)
+++ trunk/libconfig-file-perl/debian/compat Fri Feb 20 13:15:50 2009
@@ -1,1 +1,1 @@
-6
+7

Modified: trunk/libconfig-file-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-file-perl/debian/control?rev=30899&op=diff
==============================================================================
--- trunk/libconfig-file-perl/debian/control (original)
+++ trunk/libconfig-file-perl/debian/control Fri Feb 20 13:15:50 2009
@@ -1,7 +1,7 @@
 Source: libconfig-file-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 6), libmodule-build-perl
+Build-Depends: debhelper (>= 7), libmodule-build-perl
 Build-Depends-Indep: perl (>= 5.8.8-6),
  libtest-pod-perl,
  libtest-pod-coverage-perl

Modified: trunk/libconfig-file-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-file-perl/debian/rules?rev=30899&op=diff
==============================================================================
--- trunk/libconfig-file-perl/debian/rules (original)
+++ trunk/libconfig-file-perl/debian/rules Fri Feb 20 13:15:50 2009
@@ -1,64 +1,25 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
-#
-# It was later modified by Jason Kohles <email at jasonkohles.com>
-# http://www.jasonkohles.com/ to support Module::Build installed modules
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp:
-	dh_testdir
-	# Add commands to compile the package here
-	$(PERL) Build.PL installdirs=vendor
-	$(PERL) Build
-	$(PERL) Build test
+	dh build --before auto_configure
+	perl Makefile.PL INSTALLDIRS=vendor CREATE_PACKLIST=0
+	dh build --after auto_configure
 	touch $@
 
 clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	# Add commands to clean up after the build process here
-	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	# Add commands to install the package into $(TMP) here
-	$(PERL) Build install destdir=$(TMP) create_packlist=0
+	dh install
 	touch $@
 
 binary-arch:
-# We have nothing to do here for an architecture-independent package
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs 
-	dh_installexamples 
-	dh_installchangelogs 
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep: install
+	dh $@
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build




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