r25424 - in /trunk/librpc-xml-perl/debian: changelog compat control docs examples rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Fri Sep 19 20:55:54 UTC 2008


Author: dmn
Date: Fri Sep 19 20:55:51 2008
New Revision: 25424

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=25424
Log:
* upgrade to debhelper 7
  + no longer ship examples' Makefile as the examples are shipped pre-made

Added:
    trunk/librpc-xml-perl/debian/docs
    trunk/librpc-xml-perl/debian/examples
Modified:
    trunk/librpc-xml-perl/debian/changelog
    trunk/librpc-xml-perl/debian/compat
    trunk/librpc-xml-perl/debian/control
    trunk/librpc-xml-perl/debian/rules

Modified: trunk/librpc-xml-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librpc-xml-perl/debian/changelog?rev=25424&op=diff
==============================================================================
--- trunk/librpc-xml-perl/debian/changelog (original)
+++ trunk/librpc-xml-perl/debian/changelog Fri Sep 19 20:55:51 2008
@@ -4,6 +4,8 @@
   * New upstream release
   * remove test-localhost.patch; applied upstream
     + remove quilt from the build and build-depends
+  * upgrade to debhelper 7
+    + no longer ship examples' Makefile as the examples are shipped pre-made
 
  -- Damyan Ivanov <dmn at debian.org>  Fri, 19 Sep 2008 23:24:59 +0300
 

Modified: trunk/librpc-xml-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librpc-xml-perl/debian/compat?rev=25424&op=diff
==============================================================================
--- trunk/librpc-xml-perl/debian/compat (original)
+++ trunk/librpc-xml-perl/debian/compat Fri Sep 19 20:55:51 2008
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/librpc-xml-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librpc-xml-perl/debian/control?rev=25424&op=diff
==============================================================================
--- trunk/librpc-xml-perl/debian/control (original)
+++ trunk/librpc-xml-perl/debian/control Fri Sep 19 20:55:51 2008
@@ -3,7 +3,7 @@
 Priority: optional
 Build-Depends-Indep: libxml-parser-perl, libwww-perl (>= 5.811), perl (>= 5.8.0-7), 
  netbase, libtest-pod-perl, libtest-pod-coverage-perl, libnet-server-perl
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 7)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Ivan Kohler <ivan-debian at 420.am>, Damyan Ivanov <dmn at debian.org>,
  Niko Tyni <ntyni at iki.fi>, gregor herrmann <gregoa at debian.org>, 

Added: trunk/librpc-xml-perl/debian/docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librpc-xml-perl/debian/docs?rev=25424&op=file
==============================================================================
--- trunk/librpc-xml-perl/debian/docs (added)
+++ trunk/librpc-xml-perl/debian/docs Fri Sep 19 20:55:51 2008
@@ -1,0 +1,2 @@
+README
+README.apache2

Added: trunk/librpc-xml-perl/debian/examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librpc-xml-perl/debian/examples?rev=25424&op=file
==============================================================================
--- trunk/librpc-xml-perl/debian/examples (added)
+++ trunk/librpc-xml-perl/debian/examples Fri Sep 19 20:55:51 2008
@@ -1,0 +1,1 @@
+ex/linux.*

Modified: trunk/librpc-xml-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librpc-xml-perl/debian/rules?rev=25424&op=diff
==============================================================================
--- trunk/librpc-xml-perl/debian/rules (original)
+++ trunk/librpc-xml-perl/debian/rules Fri Sep 19 20:55:51 2008
@@ -1,61 +1,25 @@
 #!/usr/bin/make -f
-#-*- makefile -*-
-# Made with the aid of dh_make, by Craig Small
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
-# Some lines taken from debmake, by Christoph Lameter.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-PACKAGE = $(shell dh_listpackages)
-PERL   ?= /usr/bin/perl
-TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
+	dh build
 	# Generate the example code
 	$(MAKE) -C ex MAKEMETHOD="$(PERL) ../etc/make_method"
 	touch $@
 
 clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
-	$(MAKE) -C ex clean
+	dh $@
 
 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
+	dh install
 	touch $@
 
 binary-arch:
-	# since this is an Architecture: all package, we don't do anything here
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README.apache2 README
-	# ex/README isn't worth installing
-	dh_installexamples -XREADME ex/*
-	dh_installchangelogs ChangeLog
-	dh_compress
-	dh_fixperms
-	dh_perl
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep: install
+	dh $@
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-arch binary-indep binary install
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build




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