r28511 - in /trunk/libdata-stag-perl/debian: changelog compat control rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Tue Dec 23 06:13:30 UTC 2008


Author: dmn
Date: Tue Dec 23 06:13:26 2008
New Revision: 28511

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=28511
Log:
rules,control,compat: convert to debhelper 7

Modified:
    trunk/libdata-stag-perl/debian/changelog
    trunk/libdata-stag-perl/debian/compat
    trunk/libdata-stag-perl/debian/control
    trunk/libdata-stag-perl/debian/rules

Modified: trunk/libdata-stag-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-stag-perl/debian/changelog?rev=28511&op=diff
==============================================================================
--- trunk/libdata-stag-perl/debian/changelog (original)
+++ trunk/libdata-stag-perl/debian/changelog Tue Dec 23 06:13:26 2008
@@ -11,6 +11,7 @@
 
   [ Damyan Ivanov ]
   * control: wrap Recommends
+  * rules,control,compat: convert to debhelper 7
 
  -- David Paleino <d.paleino at gmail.com>  Mon, 22 Dec 2008 23:59:59 +0100
 

Modified: trunk/libdata-stag-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-stag-perl/debian/compat?rev=28511&op=diff
==============================================================================
--- trunk/libdata-stag-perl/debian/compat (original)
+++ trunk/libdata-stag-perl/debian/compat Tue Dec 23 06:13:26 2008
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libdata-stag-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-stag-perl/debian/control?rev=28511&op=diff
==============================================================================
--- trunk/libdata-stag-perl/debian/control (original)
+++ trunk/libdata-stag-perl/debian/control Tue Dec 23 06:13:26 2008
@@ -1,7 +1,7 @@
 Source: libdata-stag-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0), quilt
+Build-Depends: debhelper (>= 7), quilt
 Build-Depends-Indep: perl (>= 5.8.8-11.1), libio-string-perl, libxml-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Charles Plessy <plessy at debian.org>

Modified: trunk/libdata-stag-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-stag-perl/debian/rules?rev=28511&op=diff
==============================================================================
--- trunk/libdata-stag-perl/debian/rules (original)
+++ trunk/libdata-stag-perl/debian/rules Tue Dec 23 06:13:26 2008
@@ -1,70 +1,32 @@
 #!/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.
 
-# 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)
+PKG = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PKG)
 
 include /usr/share/quilt/quilt.make
 
 build: build-stamp
 build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
+	dh build
 	touch $@
 
 clean: unpatch
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp t/*.xml t/data/*sxpr* t/data/*processed.el
-	# Add commands to clean up after the build process here
-	[ ! -f Makefile ] || $(MAKE) realclean
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	# Add commands to install the package into $(TMP) here
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/lib/perl5
-	prename 's/\.pl//' $(CURDIR)/debian/libdata-stag-perl/usr/bin/*
-	prename 's/\.pl//' $(CURDIR)/debian/libdata-stag-perl/usr/share/man/man1/*1p*
+	dh install --until auto_install
+	prename 's/\.pl//' $(TMP)/usr/bin/*
+	prename 's/\.pl//' $(TMP)/usr/share/man/man1/*1p*
+	dh install --remaining
+
 	touch $@
 
+binary-indep: install
+	dh $@
+
 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
+binary: binary-arch binary-indep
 
-get-orig-source:
-	uscan --force-download
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install get-orig-source
+.PHONY: binary binary-arch binary-indep install clean build




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