r41510 - in /trunk/libtest-class-perl/debian: changelog control patches/ patches/536650-fix-ftbfs.patch patches/series rules

carnil-guest at users.alioth.debian.org carnil-guest at users.alioth.debian.org
Sat Aug 8 08:42:33 UTC 2009


Author: carnil-guest
Date: Sat Aug  8 08:42:00 2009
New Revision: 41510

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=41510
Log:
* debian/control:
  - Add Build-Depends on quilt (>= 0.46-7) and adjust versioned 
    dependency on debhelper.
  - Bump Standards-Version to 3.8.2 (no changes)
  - Add myself to Uploaders.
* debian/patches: Add 536650-fix-ftbfs.patch: Fixes FTBFS due
  failure in tests. Patch picked from upstream bugtracker
  (Closes: #536650).
* debian/rules: Use a tiny rules file.

Added:
    trunk/libtest-class-perl/debian/patches/
    trunk/libtest-class-perl/debian/patches/536650-fix-ftbfs.patch
    trunk/libtest-class-perl/debian/patches/series
Modified:
    trunk/libtest-class-perl/debian/changelog
    trunk/libtest-class-perl/debian/control
    trunk/libtest-class-perl/debian/rules

Modified: trunk/libtest-class-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-class-perl/debian/changelog?rev=41510&op=diff
==============================================================================
--- trunk/libtest-class-perl/debian/changelog (original)
+++ trunk/libtest-class-perl/debian/changelog Sat Aug  8 08:42:00 2009
@@ -8,7 +8,18 @@
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 
- -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:47:44 +0100
+  [ Salvatore Bonaccorso ]
+  * debian/control:
+    - Add Build-Depends on quilt (>= 0.46-7) and adjust versioned 
+      dependency on debhelper.
+    - Bump Standards-Version to 3.8.2 (no changes)
+    - Add myself to Uploaders.
+  * debian/patches: Add 536650-fix-ftbfs.patch: Fixes FTBFS due
+    failure in tests. Patch picked from upstream bugtracker
+    (Closes: #536650).
+  * debian/rules: Use a tiny rules file.
+
+ -- Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>  Sat, 08 Aug 2009 10:41:27 +0200
 
 libtest-class-perl (0.31-1) unstable; urgency=low
 

Modified: trunk/libtest-class-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-class-perl/debian/control?rev=41510&op=diff
==============================================================================
--- trunk/libtest-class-perl/debian/control (original)
+++ trunk/libtest-class-perl/debian/control Sat Aug  8 08:42:00 2009
@@ -5,8 +5,9 @@
 Uploaders: Jay Bonci <jaybonci at debian.org>, Gunnar Wolf <gwolf at debian.org>,
  Damyan Ivanov <dmn at debian.org>,
  gregor herrmann <gregoa at debian.org>,
- Ansgar Burchardt <ansgar at 43-1.org>
-Build-Depends: debhelper (>= 7), libmodule-build-perl
+ Ansgar Burchardt <ansgar at 43-1.org>,
+ Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>
+Build-Depends: debhelper (>= 7.0.8), quilt (>= 0.46-7), libmodule-build-perl
 Build-Depends-Indep: perl (>= 5.6.1), libtest-simple-perl (>= 0.78),
  libtest-exception-perl (>= 0.25), libdevel-symdump-perl,
  libcontextual-return-perl

Added: trunk/libtest-class-perl/debian/patches/536650-fix-ftbfs.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-class-perl/debian/patches/536650-fix-ftbfs.patch?rev=41510&op=file
==============================================================================
--- trunk/libtest-class-perl/debian/patches/536650-fix-ftbfs.patch (added)
+++ trunk/libtest-class-perl/debian/patches/536650-fix-ftbfs.patch Sat Aug  8 08:42:00 2009
@@ -1,0 +1,55 @@
+Description: Fix FTBFS due to fails of several tests
+Origin: http://rt.cpan.org/Ticket/Attachment/644862/329892/test_class.patch
+Bug: http://rt.cpan.org/Public/Bug/Display.html?id=47060
+Bug-Debian: http://bugs.debian.org/536650
+--- a/t/fail2.t
++++ b/t/fail2.t
+@@ -23,12 +23,12 @@
+ package main;
+ $ENV{TEST_VERBOSE}=0;
+ 
+-
+-test_out("not ok 1 - The object isa Object");
++my $identifier = ($Test::More::VERSION < 0.88) ? 'object' : 'thing';
++test_out("not ok 1 - The $identifier isa Object");
+ test_out("not ok 2 - cannot create Objects");
+ test_fail(-11);
+ test_err( "#   (in Object::Test->_test_new)" );
+-test_err(qr/#\s+The object isn't defined\n/);
++test_err(qr/#\s+The $identifier isn't defined\n/);
+ test_fail(-14);
+ test_err( "#   (in Object::Test->_test_new)" );
+ 
+--- a/t/runtests_die.t
++++ b/t/runtests_die.t
+@@ -22,12 +22,14 @@
+ 
+ my $filename = sub { return (caller)[1] }->();
+ 
+-test_out( "not ok 1 - The object isa Object");
++my $identifier = ($Test::More::VERSION < 0.88) ? 'object' : 'thing';
++
++test_out( "not ok 1 - The $identifier isa Object");
+ test_err( "#     Failed test ($filename at line 15)");
+ test_err( "#   (in Foo->test_object)" );
+-test_err( "#     The object isn't defined");
++test_err( "#     The $identifier isn't defined");
+ test_out( "not ok 2 - test_object died (could not create object)");
+-test_err( "#     Failed test ($filename at line 32)");
++test_err( "#     Failed test ($filename at line 34)");
+ test_err( "#   (in Foo->test_object)" );
+ Foo->runtests;
+ test_test("early die handled");
+--- a/t/skip1.t
++++ b/t/skip1.t
+@@ -20,7 +20,9 @@
+ 	print "1..1\n";
+ 	my $output = <$io>;
+ 	chomp($output);
+-	my $ok = $output eq "1..0 # Skip skipping";
++
++	my $ok = $output =~ /^1..0 # Skip skipping$/i;
++
+ 	print "not " unless $ok;
+ 	print "ok 1 - SKIP_ALL called skip_all\n";
+ };

Added: trunk/libtest-class-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-class-perl/debian/patches/series?rev=41510&op=file
==============================================================================
--- trunk/libtest-class-perl/debian/patches/series (added)
+++ trunk/libtest-class-perl/debian/patches/series Sat Aug  8 08:42:00 2009
@@ -1,0 +1,1 @@
+536650-fix-ftbfs.patch

Modified: trunk/libtest-class-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-class-perl/debian/rules?rev=41510&op=diff
==============================================================================
--- trunk/libtest-class-perl/debian/rules (original)
+++ trunk/libtest-class-perl/debian/rules Sat Aug  8 08:42:00 2009
@@ -1,23 +1,4 @@
 #!/usr/bin/make -f
 
-build: build-stamp
-build-stamp:
-	dh build
-	touch $@
-
-clean:
-	dh $@
-
-install: install-stamp
-install-stamp: build-stamp
-	dh install
-	touch $@
-
-binary-arch:
-
-binary-indep: install
-	dh $@
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build
+%:
+	dh --with quilt $@




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