r22090 - in /trunk/soap-lite/debian: changelog compat control examples rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Mon Jun 23 10:43:57 UTC 2008


Author: dmn
Date: Mon Jun 23 10:43:57 2008
New Revision: 22090

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22090
Log:
* strip-down debian/rules with debhelper 7; adjust dh compat level and
  build-dependency accordingly
  + do not install redundant README

Added:
    trunk/soap-lite/debian/examples
Modified:
    trunk/soap-lite/debian/changelog
    trunk/soap-lite/debian/compat
    trunk/soap-lite/debian/control
    trunk/soap-lite/debian/rules

Modified: trunk/soap-lite/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/soap-lite/debian/changelog?rev=22090&op=diff
==============================================================================
--- trunk/soap-lite/debian/changelog (original)
+++ trunk/soap-lite/debian/changelog Mon Jun 23 10:43:57 2008
@@ -10,6 +10,9 @@
 
   [ Damyan Ivanov ]
   * New upstream release
+  * strip-down debian/rules with debhelper 7; adjust dh compat level and
+    build-dependency accordingly
+    + do not install redundant README
 
  -- Damyan Ivanov <dmn at debian.org>  Mon, 23 Jun 2008 13:10:50 +0300
 

Modified: trunk/soap-lite/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/soap-lite/debian/compat?rev=22090&op=diff
==============================================================================
--- trunk/soap-lite/debian/compat (original)
+++ trunk/soap-lite/debian/compat Mon Jun 23 10:43:57 2008
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/soap-lite/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/soap-lite/debian/control?rev=22090&op=diff
==============================================================================
--- trunk/soap-lite/debian/control (original)
+++ trunk/soap-lite/debian/control Mon Jun 23 10:43:57 2008
@@ -1,7 +1,7 @@
 Source: soap-lite
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5), quilt (>= 0.40)
+Build-Depends: debhelper (>= 7), quilt (>= 0.40)
 Build-Depends-Indep: perl, libossp-uuid-perl, libxml-parser-perl, 
  libwww-perl, libcrypt-ssleay-perl, liburi-perl, libmime-lite-perl, 
  libfcgi-perl, libmime-tools-perl, libnet-jabber-perl, libio-socket-ssl-perl, 

Added: trunk/soap-lite/debian/examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/soap-lite/debian/examples?rev=22090&op=file
==============================================================================
--- trunk/soap-lite/debian/examples (added)
+++ trunk/soap-lite/debian/examples Mon Jun 23 10:43:57 2008
@@ -1,0 +1,1 @@
+examples/*

Modified: trunk/soap-lite/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/soap-lite/debian/rules?rev=22090&op=diff
==============================================================================
--- trunk/soap-lite/debian/rules (original)
+++ trunk/soap-lite/debian/rules Mon Jun 23 10:43:57 2008
@@ -1,13 +1,6 @@
 #!/usr/bin/make -f
 
 include /usr/share/quilt/quilt.make
-
-# 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)
 PERL   ?= /usr/bin/perl
@@ -15,10 +8,7 @@
 
 build: build-stamp
 build-stamp: fix-scripts-stamp $(QUILT_STAMPFN)
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
+	dh build
 	touch $@
 
 # remove the .pl from script names and fix their shebang lines
@@ -34,43 +24,21 @@
 	sed '1d; s,$(notdir $@)\.pl,$(notdir $@),g' < $< >> $@
 
 clean: unpatch
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp fix-scripts-stamp
+	dh $@
 	$(RM) -f $(SCRIPTS)
-	[ ! -f Makefile ] || (touch Makefile && $(MAKE) distclean)
 
 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 \
-		$(TMP)/usr/lib/perl5
-	# lintian overrides for long lines with URLs
-	dh_installdirs /usr/share/lintian/overrides/
-	install -m 644 $(CURDIR)/debian/lintian-overrides $(TMP)/usr/share/lintian/overrides/$(PACKAGE)
+	dh install --until installexamples
+	chmod 0644 $(TMP)/usr/share/doc/$(PACKAGE)/examples/COM/*.bat
+	dh install --after installexamples
 	touch $@
 
 binary-arch:
 # We have nothing to do here for an architecture-independent package
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples examples/*
-	chmod 644 $(TMP)/usr/share/doc/$(PACKAGE)/examples/COM/make-com-*
-	dh_installdocs README examples/COM/README
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep: install
+	dh $@
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary fix-scripts install




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