r32161 - in /trunk/libauthen-sasl-cyrus-perl/debian: changelog compat control docs rules

rra at users.alioth.debian.org rra at users.alioth.debian.org
Tue Mar 17 21:41:11 UTC 2009


Author: rra
Date: Tue Mar 17 21:41:06 2009
New Revision: 32161

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=32161
Log:
* Update to debhelper compatibility level V7.
  - Use partial debhelper rules minimization.

Added:
    trunk/libauthen-sasl-cyrus-perl/debian/docs
Modified:
    trunk/libauthen-sasl-cyrus-perl/debian/changelog
    trunk/libauthen-sasl-cyrus-perl/debian/compat
    trunk/libauthen-sasl-cyrus-perl/debian/control
    trunk/libauthen-sasl-cyrus-perl/debian/rules

Modified: trunk/libauthen-sasl-cyrus-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-sasl-cyrus-perl/debian/changelog?rev=32161&op=diff
==============================================================================
--- trunk/libauthen-sasl-cyrus-perl/debian/changelog (original)
+++ trunk/libauthen-sasl-cyrus-perl/debian/changelog Tue Mar 17 21:41:06 2009
@@ -15,6 +15,8 @@
     (Closes: #486698)
   * Remove extraneous *.patch extension from the output encoding patch and
     add an explanatory introductory comment.
+  * Update to debhelper compatibility level V7.
+    - Use partial debhelper rules minimization.
 
  -- gregor herrmann <gregoa at debian.org>  Wed, 06 Aug 2008 21:33:23 -0300
 

Modified: trunk/libauthen-sasl-cyrus-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-sasl-cyrus-perl/debian/compat?rev=32161&op=diff
==============================================================================
--- trunk/libauthen-sasl-cyrus-perl/debian/compat (original)
+++ trunk/libauthen-sasl-cyrus-perl/debian/compat Tue Mar 17 21:41:06 2009
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libauthen-sasl-cyrus-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-sasl-cyrus-perl/debian/control?rev=32161&op=diff
==============================================================================
--- trunk/libauthen-sasl-cyrus-perl/debian/control (original)
+++ trunk/libauthen-sasl-cyrus-perl/debian/control Tue Mar 17 21:41:06 2009
@@ -1,7 +1,7 @@
 Source: libauthen-sasl-cyrus-perl
 Section: perl
 Priority: extra
-Build-Depends: debhelper (>> 5), perl (>> 5.8), libauthen-sasl-perl,
+Build-Depends: debhelper (>> 7), perl (>> 5.8), libauthen-sasl-perl,
  libsasl2-dev, libsasl2-modules, quilt
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Russ Allbery <rra at debian.org>, Damyan Ivanov <dmn at debian.org>

Added: trunk/libauthen-sasl-cyrus-perl/debian/docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-sasl-cyrus-perl/debian/docs?rev=32161&op=file
==============================================================================
--- trunk/libauthen-sasl-cyrus-perl/debian/docs (added)
+++ trunk/libauthen-sasl-cyrus-perl/debian/docs Tue Mar 17 21:41:06 2009
@@ -1,0 +1,1 @@
+README

Modified: trunk/libauthen-sasl-cyrus-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-sasl-cyrus-perl/debian/rules?rev=32161&op=diff
==============================================================================
--- trunk/libauthen-sasl-cyrus-perl/debian/rules (original)
+++ trunk/libauthen-sasl-cyrus-perl/debian/rules Tue Mar 17 21:41:06 2009
@@ -1,70 +1,21 @@
 #! /usr/bin/make -f
-
-# 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
 
 include /usr/share/quilt/quilt.make
 
-PACKAGE := libauthen-sasl-cyrus-perl
-DESTDIR := $(CURDIR)/debian/$(PACKAGE)
-PERL    ?= /usr/bin/perl
-
-# Allow disabling build optimation by setting noopt in $DEB_BUILD_OPTIONS.
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-    CFLAGS += -O0
-else
-    CFLAGS += -O2
-endif
+# Set the user environment variable required by the test suite.
+export USER=testuser
 
 build: build-arch build-indep
 build-arch: build-stamp
 build-indep:
 build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-	$(PERL) Makefile.PL LIBS="-lsasl2" DEFINE="-DSASL2" \
-	    INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	USER=testuser $(MAKE) test
-	touch build-stamp
+	dh build --before dh_auto_configure
+	dh_auto_configure -- LIBS="-lsasl2" DEFINE="-DSASL2"
+	dh build --remaining
+	touch $@
 
 clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
-	dh_clean
+	dh $@
 
-install: install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(DESTDIR)
-	chmod 0644 $(DESTDIR)/usr/lib/perl5/Authen/SASL/Cyrus.pod
-	[ ! -d $(DESTDIR)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(DESTDIR)/usr/share/perl5
-	touch install-stamp
-
-binary: binary-arch binary-indep
-binary-indep:
-binary-arch: build-stamp install-stamp
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installchangelogs CHANGES
-	dh_perl
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_shlibdeps
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-.PHONY: binary binary-arch binary-indep build build-arch build-indep clean
-.PHONY: install
+%:
+	dh $@




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