r22164 - in /trunk/libmime-types-perl/debian: changelog compat control docs rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Thu Jun 26 06:28:01 UTC 2008


Author: dmn
Date: Thu Jun 26 06:28:00 2008
New Revision: 22164

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22164
Log:
minimize debian/rules with debhelper 7

Added:
    trunk/libmime-types-perl/debian/docs
Modified:
    trunk/libmime-types-perl/debian/changelog
    trunk/libmime-types-perl/debian/compat
    trunk/libmime-types-perl/debian/control
    trunk/libmime-types-perl/debian/rules

Modified: trunk/libmime-types-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmime-types-perl/debian/changelog?rev=22164&op=diff
==============================================================================
--- trunk/libmime-types-perl/debian/changelog (original)
+++ trunk/libmime-types-perl/debian/changelog Thu Jun 26 06:28:00 2008
@@ -1,5 +1,6 @@
 libmime-types-perl (1.24-1) UNRELEASED; urgency=low
 
+  [ gregor herrmann ]
   PHENOMENON: lintian says:
   manpage-not-compressed-with-gzip usr/share/man/man3/MIME::Types.3pm.gz
   cf. also the diagnostic output of `file' in debian/rules:
@@ -9,6 +10,9 @@
   * debian/copyright: adjust years of upstream copyright.
   * Refresh debian/rules, no functional changes.
   * debian/control: change my email address.
+
+  [ Damyan Ivanov ]
+  * minimize debian/rules with debhelper 7
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 25 May 2008 00:35:33 +0200
 

Modified: trunk/libmime-types-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmime-types-perl/debian/compat?rev=22164&op=diff
==============================================================================
--- trunk/libmime-types-perl/debian/compat (original)
+++ trunk/libmime-types-perl/debian/compat Thu Jun 26 06:28:00 2008
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libmime-types-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmime-types-perl/debian/control?rev=22164&op=diff
==============================================================================
--- trunk/libmime-types-perl/debian/control (original)
+++ trunk/libmime-types-perl/debian/control Thu Jun 26 06:28:00 2008
@@ -9,7 +9,7 @@
 Homepage: http://search.cpan.org/dist/MIME-Types/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmime-types-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libmime-types-perl/
-Build-Depends: debhelper (>= 5.0.0)
+Build-Depends: debhelper (>= 7)
 Build-Depends-Indep: perl (>> 5.8.1), libtest-pod-perl
 
 Package: libmime-types-perl

Added: trunk/libmime-types-perl/debian/docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmime-types-perl/debian/docs?rev=22164&op=file
==============================================================================
--- trunk/libmime-types-perl/debian/docs (added)
+++ trunk/libmime-types-perl/debian/docs Thu Jun 26 06:28:00 2008
@@ -1,0 +1,1 @@
+README

Modified: trunk/libmime-types-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmime-types-perl/debian/rules?rev=22164&op=diff
==============================================================================
--- trunk/libmime-types-perl/debian/rules (original)
+++ trunk/libmime-types-perl/debian/rules Thu Jun 26 06:28:00 2008
@@ -1,61 +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.
-
-# 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
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/lib/perl5
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installchangelogs ChangeLog
-	dh_perl
-	dh_compress
-	file debian/$(PACKAGE)/usr/share/man/man3/MIME::Types.3pm.gz debian/$(PACKAGE)/usr/share/man/man3/MIME::Type.3pm.gz
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-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