r18200 - in /trunk/libtest-yaml-meta-perl/debian: changelog control examples rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Mon Mar 31 16:45:45 UTC 2008


Author: gregoa-guest
Date: Mon Mar 31 16:45:44 2008
New Revision: 18200

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18200
Log:
* Add /me to Uploaders.
* debian/rules: refresh with dh-make-perl's help.
* Remove debian/examples and install examples/* directly from
  debian/rules.

Removed:
    trunk/libtest-yaml-meta-perl/debian/examples
Modified:
    trunk/libtest-yaml-meta-perl/debian/changelog
    trunk/libtest-yaml-meta-perl/debian/control
    trunk/libtest-yaml-meta-perl/debian/rules

Modified: trunk/libtest-yaml-meta-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-yaml-meta-perl/debian/changelog?rev=18200&op=diff
==============================================================================
--- trunk/libtest-yaml-meta-perl/debian/changelog (original)
+++ trunk/libtest-yaml-meta-perl/debian/changelog Mon Mar 31 16:45:44 2008
@@ -2,8 +2,12 @@
 
   * New upstream release.
   * debian/copyright: update years of copyright.
+  * Add /me to Uploaders.
+  * debian/rules: refresh with dh-make-perl's help.
+  * Remove debian/examples and install examples/* directly from
+    debian/rules.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Mon, 31 Mar 2008 18:41:52 +0200
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Mon, 31 Mar 2008 18:44:04 +0200
 
 libtest-yaml-meta-perl (0.08-1) unstable; urgency=low
 

Modified: trunk/libtest-yaml-meta-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-yaml-meta-perl/debian/control?rev=18200&op=diff
==============================================================================
--- trunk/libtest-yaml-meta-perl/debian/control (original)
+++ trunk/libtest-yaml-meta-perl/debian/control Mon Mar 31 16:45:44 2008
@@ -3,9 +3,10 @@
 Priority: optional
 Build-Depends: debhelper (>= 5.0.0)
 Build-Depends-Indep: perl (>= 5.8.8-12), libtest-yaml-valid-perl (>= 0.03),
- libtest-pod-perl (>=1), libtest-pod-coverage-perl (>=0.08)
+ libtest-pod-perl (>= 1), libtest-pod-coverage-perl (>= 0.08)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Rene Mayorga <rmayorga at debian.org.sv>
+Uploaders: Rene Mayorga <rmayorga at debian.org.sv>,
+ gregor herrmann <gregor+debian at comodo.priv.at>
 Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Test-YAML-Meta/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtest-yaml-meta-perl/

Modified: trunk/libtest-yaml-meta-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-yaml-meta-perl/debian/rules?rev=18200&op=diff
==============================================================================
--- trunk/libtest-yaml-meta-perl/debian/rules (original)
+++ trunk/libtest-yaml-meta-perl/debian/rules Mon Mar 31 16:45:44 2008
@@ -11,18 +11,15 @@
 # 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)
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp:
 	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor 
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
 	$(MAKE) test
 	touch $@
@@ -31,6 +28,7 @@
 	dh_testdir
 	dh_testroot
 	dh_clean build-stamp install-stamp
+	# Add commands to clean up after the build process here
 	[ ! -f Makefile ] || $(MAKE) realclean
 
 install: install-stamp
@@ -38,15 +36,20 @@
 	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
+	[ ! -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_installexamples
+	dh_installexamples examples/*
 	dh_installdocs
 	dh_installchangelogs Changes
 	dh_perl
@@ -57,8 +60,5 @@
 	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
+.PHONY: build clean binary-indep binary-arch binary install




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