r41218 - in /trunk/libclass-dbi-sweet-perl/debian: changelog compat control rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Mon Aug 3 12:29:58 UTC 2009


Author: dmn
Date: Mon Aug  3 12:29:49 2009
New Revision: 41218

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=41218
Log:
replace debian/rules with DH7 three-liner

Modified:
    trunk/libclass-dbi-sweet-perl/debian/changelog
    trunk/libclass-dbi-sweet-perl/debian/compat
    trunk/libclass-dbi-sweet-perl/debian/control
    trunk/libclass-dbi-sweet-perl/debian/rules

Modified: trunk/libclass-dbi-sweet-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-dbi-sweet-perl/debian/changelog?rev=41218&op=diff
==============================================================================
--- trunk/libclass-dbi-sweet-perl/debian/changelog (original)
+++ trunk/libclass-dbi-sweet-perl/debian/changelog Mon Aug  3 12:29:49 2009
@@ -7,6 +7,9 @@
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 
+  [ Damyan Ivanov ]
+  * replace debian/rules with DH7 three-liner
+
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:40:35 +0100
 
 libclass-dbi-sweet-perl (0.09-1) unstable; urgency=low

Modified: trunk/libclass-dbi-sweet-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-dbi-sweet-perl/debian/compat?rev=41218&op=diff
==============================================================================
--- trunk/libclass-dbi-sweet-perl/debian/compat (original)
+++ trunk/libclass-dbi-sweet-perl/debian/compat Mon Aug  3 12:29:49 2009
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libclass-dbi-sweet-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-dbi-sweet-perl/debian/control?rev=41218&op=diff
==============================================================================
--- trunk/libclass-dbi-sweet-perl/debian/control (original)
+++ trunk/libclass-dbi-sweet-perl/debian/control Mon Aug  3 12:29:49 2009
@@ -1,7 +1,7 @@
 Source: libclass-dbi-sweet-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 6), libmodule-build-perl
+Build-Depends: debhelper (>= 7), perl (>= 5.10) | libmodule-build-perl
 Build-Depends-Indep: perl (>= 5.8.8-12), libdbi-perl, libclass-dbi-perl,
  libdbd-sqlite3-perl, libdata-page-perl, libsql-abstract-perl,
  libcache-cache-perl, libtest-pod-perl, libtest-pod-coverage-perl,

Modified: trunk/libclass-dbi-sweet-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-dbi-sweet-perl/debian/rules?rev=41218&op=diff
==============================================================================
--- trunk/libclass-dbi-sweet-perl/debian/rules (original)
+++ trunk/libclass-dbi-sweet-perl/debian/rules Mon Aug  3 12:29:49 2009
@@ -1,76 +1,3 @@
 #!/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
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-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
-	TEST_POD=1 $(PERL) Build test
-
-	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 distclean
-
-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
-
-	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_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-source diff:
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+	dh $@




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