r24548 - in /trunk/libclass-spiffy-perl/debian: changelog control rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sun Aug 24 06:19:51 UTC 2008


Author: dmn
Date: Sun Aug 24 06:19:43 2008
New Revision: 24548

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=24548
Log:
* trim debian/rules with debhelper 7. adjust build-dependencies accordingly
  - do not ship redundant README

Modified:
    trunk/libclass-spiffy-perl/debian/changelog
    trunk/libclass-spiffy-perl/debian/control
    trunk/libclass-spiffy-perl/debian/rules

Modified: trunk/libclass-spiffy-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-spiffy-perl/debian/changelog?rev=24548&op=diff
==============================================================================
--- trunk/libclass-spiffy-perl/debian/changelog (original)
+++ trunk/libclass-spiffy-perl/debian/changelog Sun Aug 24 06:19:43 2008
@@ -1,5 +1,6 @@
 libclass-spiffy-perl (0.15-2) UNRELEASED; urgency=low
 
+  [ gregor herrmann ]
   * Take over for the Debian Perl Group with maintainer's permission
     (http://lists.debian.org/debian-perl/2008/06/msg00039.html)
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
@@ -9,6 +10,10 @@
     <rafl at debian.org>); Florian Ragwitz <rafl at debian.org> moved to
     Uploaders.
   * Add debian/watch.
+
+  [ Damyan Ivanov ]
+  * trim debian/rules with debhelper 7. adjust build-dependencies accordingly
+    - do not ship redundant README
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 15 Jun 2008 15:23:12 +0200
 

Modified: trunk/libclass-spiffy-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-spiffy-perl/debian/control?rev=24548&op=diff
==============================================================================
--- trunk/libclass-spiffy-perl/debian/control (original)
+++ trunk/libclass-spiffy-perl/debian/control Sun Aug 24 06:19:43 2008
@@ -1,7 +1,7 @@
 Source: libclass-spiffy-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0)
+Build-Depends: debhelper (>= 7)
 Build-Depends-Indep: perl (>= 5.6)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Florian Ragwitz <rafl at debian.org>

Modified: trunk/libclass-spiffy-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-spiffy-perl/debian/rules?rev=24548&op=diff
==============================================================================
--- trunk/libclass-spiffy-perl/debian/rules (original)
+++ trunk/libclass-spiffy-perl/debian/rules Sun Aug 24 06:19:43 2008
@@ -1,58 +1,23 @@
 #!/usr/bin/make -f
-
-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
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-Wall -O2 -g"
-	touch build-stamp
+	dh build
+	touch $@
 
 clean:
-	dh_testdir
-	dh_testroot
-	[ ! -f Makefile ] || $(MAKE) realclean
-	dh_clean build-stamp install-stamp
+	dh $@
 
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) test
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/lib/perl5
-	touch install-stamp
+install: install-stamp
+install-stamp: build-stamp
+	dh install
+	touch $@
 
 binary-arch:
-# We have nothing to do by default.
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep: install
+	dh $@
 
-source diff:                                                                  
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary: binary-arch binary-indep
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: binary binary-arch binary-indep install clean build




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