Control: tag -1 + patch

On Fri, 27 Jun 2014 22:49:03 +0300, Niko Tyni wrote:

> The new version of Test::More loads Test::Builder::Module, which is not
> present in the old version under inc/ at all, so the system one gets
> picked instead. The other Test::Builder modules are loaded from inc/,
> triggering the incompatibility.

Patch attached, which moves the broken file out of the way during
build.

Dominic: $default-question-about-pkg-perl?
 

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Bob Dylan: Soon After Midnight
diff -Nru libdata-objectdriver-perl-0.09/debian/changelog libdata-objectdriver-perl-0.09/debian/changelog
--- libdata-objectdriver-perl-0.09/debian/changelog	2011-08-29 17:56:32.000000000 +0200
+++ libdata-objectdriver-perl-0.09/debian/changelog	2014-07-10 17:39:43.000000000 +0200
@@ -1,3 +1,14 @@
+libdata-objectdriver-perl (0.09-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "FTBFS with newer libtest-simple-perl: Test::Builder version
+    0.99 required--this is only version 0.94":
+    debian/rules: move incompatible inc/Test/Builder.pm out of the way before
+    running tests
+    (Closes: #752923)
+
+ -- gregor herrmann <gre...@debian.org>  Thu, 10 Jul 2014 17:34:07 +0200
+
 libdata-objectdriver-perl (0.09-1) unstable; urgency=low
 
   * Add Vcs-* fields
diff -Nru libdata-objectdriver-perl-0.09/debian/rules libdata-objectdriver-perl-0.09/debian/rules
--- libdata-objectdriver-perl-0.09/debian/rules	2011-08-29 17:53:29.000000000 +0200
+++ libdata-objectdriver-perl-0.09/debian/rules	2014-07-10 17:44:14.000000000 +0200
@@ -1,4 +1,14 @@
 #!/usr/bin/make -f
 
+BADFILE=inc/Test/Builder.pm
+
 %:
 	dh $@
+
+override_dh_auto_clean:
+	[ ! -f $(CURDIR)/$(BADFILE).broken ] || mv -v $(CURDIR)/$(BADFILE).broken $(CURDIR)/$(BADFILE)
+	dh_auto_clean
+
+override_dh_auto_test:
+	[ ! -f $(CURDIR)/$(BADFILE) ] || mv -v $(CURDIR)/$(BADFILE) $(CURDIR)/$(BADFILE).broken
+	dh_auto_test

Attachment: signature.asc
Description: Digital Signature

Reply via email to