r41560 - in /trunk/libtest-log4perl-perl/debian: changelog compat control patches/ patches/fix-test-init.patch patches/series rules

diocles-guest at users.alioth.debian.org diocles-guest at users.alioth.debian.org
Sun Aug 9 15:38:43 UTC 2009


Author: diocles-guest
Date: Sun Aug  9 15:38:37 2009
New Revision: 41560

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=41560
Log:
  * debian/patches/fix-test-init.patch: New patch to initialize logger
    object during basic test. Fixes FTBFS. (Closes: #531239)
  * Set urgency to medium for RC bug fix.
  * Use short format dh and quilt debian/rules.
  * debian/control:
    + Bump debhelper build-dep. Add quilt.
    + Remove libmodule-build-perl from build-deps.

Added:
    trunk/libtest-log4perl-perl/debian/patches/
    trunk/libtest-log4perl-perl/debian/patches/fix-test-init.patch
    trunk/libtest-log4perl-perl/debian/patches/series
Modified:
    trunk/libtest-log4perl-perl/debian/changelog
    trunk/libtest-log4perl-perl/debian/compat
    trunk/libtest-log4perl-perl/debian/control
    trunk/libtest-log4perl-perl/debian/rules

Modified: trunk/libtest-log4perl-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-log4perl-perl/debian/changelog?rev=41560&op=diff
==============================================================================
--- trunk/libtest-log4perl-perl/debian/changelog (original)
+++ trunk/libtest-log4perl-perl/debian/changelog Sun Aug  9 15:38:37 2009
@@ -1,4 +1,4 @@
-libtest-log4perl-perl (0.1001-2) UNRELEASED; urgency=low
+libtest-log4perl-perl (0.1001-2) UNRELEASED; urgency=medium
 
   [ gregor herrmann ]
   * debian/control: make short description a bit more explicit, thanks to
@@ -9,6 +9,15 @@
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 
+  [ Tim Retout ]
+  * debian/patches/fix-test-init.patch: New patch to initialize logger
+    object during basic test. Fixes FTBFS. (Closes: #531239)
+  * Set urgency to medium for RC bug fix.
+  * Use short format dh and quilt debian/rules.
+  * debian/control:
+    + Bump debhelper build-dep. Add quilt.
+    + Remove libmodule-build-perl from build-deps.
+
  -- gregor herrmann <gregoa at debian.org>  Fri, 08 Aug 2008 11:01:19 -0300
 
 libtest-log4perl-perl (0.1001-1) unstable; urgency=low

Modified: trunk/libtest-log4perl-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-log4perl-perl/debian/compat?rev=41560&op=diff
==============================================================================
--- trunk/libtest-log4perl-perl/debian/compat (original)
+++ trunk/libtest-log4perl-perl/debian/compat Sun Aug  9 15:38:37 2009
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libtest-log4perl-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-log4perl-perl/debian/control?rev=41560&op=diff
==============================================================================
--- trunk/libtest-log4perl-perl/debian/control (original)
+++ trunk/libtest-log4perl-perl/debian/control Sun Aug  9 15:38:37 2009
@@ -1,7 +1,7 @@
 Source: libtest-log4perl-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5), libmodule-build-perl
+Build-Depends: debhelper (>= 7.0.8), quilt (>= 0.46-7)
 Build-Depends-Indep: perl (>= 5.6.10-12) , libclass-accessor-chained-perl, 
  liblingua-en-numbers-ordinate-perl, liblog-log4perl-perl, 
  libtest-exception-perl

Added: trunk/libtest-log4perl-perl/debian/patches/fix-test-init.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-log4perl-perl/debian/patches/fix-test-init.patch?rev=41560&op=file
==============================================================================
--- trunk/libtest-log4perl-perl/debian/patches/fix-test-init.patch (added)
+++ trunk/libtest-log4perl-perl/debian/patches/fix-test-init.patch Sun Aug  9 15:38:37 2009
@@ -1,0 +1,18 @@
+Author: Tim Retout <tim at retout.co.uk>
+Description: Initialize logger object in basic test.
+ This is required from Log::Log4perl 0.22 onwards.
+
+Index: libtest-log4perl-perl/t/01basic.t
+===================================================================
+--- libtest-log4perl-perl.orig/t/01basic.t	2009-08-09 16:13:57.000000000 +0100
++++ libtest-log4perl-perl/t/01basic.t	2009-08-09 16:14:15.000000000 +0100
+@@ -3,7 +3,8 @@
+ use strict;
+ use warnings;
+ 
+-use Log::Log4perl;
++use Log::Log4perl qw(:easy);
++Log::Log4perl->easy_init($DEBUG);
+ # do some setup here...honest guv
+ 
+ use Test::More tests => 9;

Added: trunk/libtest-log4perl-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-log4perl-perl/debian/patches/series?rev=41560&op=file
==============================================================================
--- trunk/libtest-log4perl-perl/debian/patches/series (added)
+++ trunk/libtest-log4perl-perl/debian/patches/series Sun Aug  9 15:38:37 2009
@@ -1,0 +1,1 @@
+fix-test-init.patch

Modified: trunk/libtest-log4perl-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-log4perl-perl/debian/rules?rev=41560&op=diff
==============================================================================
--- trunk/libtest-log4perl-perl/debian/rules (original)
+++ trunk/libtest-log4perl-perl/debian/rules Sun Aug  9 15:38:37 2009
@@ -1,60 +1,4 @@
 #!/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.
-#
-# It was later modified by Jason Kohles <email at jasonkohles.com>
-# http://www.jasonkohles.com/ to support Module::Build installed modules
 
-# 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
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	$(PERL) Build.PL installdirs=vendor
-	$(PERL) Build
-	$(PERL) Build test
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(PERL) Build install destdir=$(TMP) create_packlist=0
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+	dh --with quilt $@




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