r32677 - in /trunk/libtest-xml-simple-perl/debian: changelog compat control rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Mon Apr 6 15:10:35 UTC 2009


Author: gregoa
Date: Mon Apr  6 15:10:30 2009
New Revision: 32677

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=32677
Log:
* Set debhelper compatibility level to 7; adapt
  debian/{control,compat,rules}.
* Don't install README anymore.

Modified:
    trunk/libtest-xml-simple-perl/debian/changelog
    trunk/libtest-xml-simple-perl/debian/compat
    trunk/libtest-xml-simple-perl/debian/control
    trunk/libtest-xml-simple-perl/debian/rules

Modified: trunk/libtest-xml-simple-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-xml-simple-perl/debian/changelog?rev=32677&op=diff
==============================================================================
--- trunk/libtest-xml-simple-perl/debian/changelog (original)
+++ trunk/libtest-xml-simple-perl/debian/changelog Mon Apr  6 15:10:30 2009
@@ -14,6 +14,11 @@
     + Upgraded Standards-Version to 3.8.1
     + Added myself to Uploaders.
 
+  [ gregor herrmann ]
+  * Set debhelper compatibility level to 7; adapt
+    debian/{control,compat,rules}.
+  * Don't install README anymore.
+
  -- Alex Muntada <alexm at alexm.org>  Mon, 06 Apr 2009 03:12:37 +0200
 
 libtest-xml-simple-perl (0.09-1) unstable; urgency=low

Modified: trunk/libtest-xml-simple-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-xml-simple-perl/debian/compat?rev=32677&op=diff
==============================================================================
--- trunk/libtest-xml-simple-perl/debian/compat (original)
+++ trunk/libtest-xml-simple-perl/debian/compat Mon Apr  6 15:10:30 2009
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libtest-xml-simple-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-xml-simple-perl/debian/control?rev=32677&op=diff
==============================================================================
--- trunk/libtest-xml-simple-perl/debian/control (original)
+++ trunk/libtest-xml-simple-perl/debian/control Mon Apr  6 15:10:30 2009
@@ -1,7 +1,7 @@
 Source: libtest-xml-simple-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0), quilt (>= 0.40)
+Build-Depends: debhelper (>= 7), quilt (>= 0.40)
 Build-Depends-Indep: perl (>= 5.8.0-7), libxml-libxml-perl, libtest-tester-perl, libtest-longstring-perl, libtest-pod-perl (>= 1.14), libtest-pod-coverage-perl (>= 1.04)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jaldhar H. Vyas <jaldhar at debian.org>, Alex Muntada <alexm at alexm.org>
@@ -13,7 +13,7 @@
 Package: libtest-xml-simple-perl
 Architecture: all
 Depends: ${perl:Depends}, ${misc:Depends}, libxml-libxml-perl, libtest-simple-perl, libtest-longstring-perl
-Description:  easy testing for XML
+Description: easy testing for XML
  Test::XML::Simple is a very basic class for testing XML. It uses the XPath
  syntax to locate nodes within the XML. You can also check all or part of the
  structure vs. an XML fragment.

Modified: trunk/libtest-xml-simple-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-xml-simple-perl/debian/rules?rev=32677&op=diff
==============================================================================
--- trunk/libtest-xml-simple-perl/debian/rules (original)
+++ trunk/libtest-xml-simple-perl/debian/rules Mon Apr  6 15:10:30 2009
@@ -1,78 +1,25 @@
 #!/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
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 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:
-	dh_testdir
-	dh_testroot
-
-	dh_clean build-stamp install-stamp
-
-	# Add commands to clean up after the build process here
-	[ ! -f Makefile ] || $(MAKE) realclean
+clean: unpatch
+	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
-
+	dh install
 	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_installdocs README
-	dh_installchangelogs Changes
-	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