Source: libcatmandu-mab2-perl
Version: 0.13-1
Severity: important
User: debian-p...@lists.debian.org
Usertags: perl-cwd-inc-removal
Tags: patch

This package FTBFS when '.' is removed from @INC, as seen at [1].
The attached patch should fix this.

This change is being made for security reasons; for more background,
see #588017 and [2].

This bug will become RC when the perl package change removing '.' from
@INC by default is uploaded to unstable, expected in a week or two.

Thanks,
Dominic.

[1] 
<http://perl.debian.net/rebuild-logs/experimental/libcatmandu-mab2-perl_0.13-1/libcatmandu-mab2-perl_0.13-1_amd64-2016-08-16T17%3A13%3A24Z.build>
[2] <https://lists.debian.org/debian-release/2016/07/msg00456.html>
diff -Nru libcatmandu-mab2-perl-0.13/debian/changelog libcatmandu-mab2-perl-0.13/debian/changelog
--- libcatmandu-mab2-perl-0.13/debian/changelog	2016-02-09 06:12:24.000000000 +0000
+++ libcatmandu-mab2-perl-0.13/debian/changelog	2016-08-18 14:41:45.000000000 +0100
@@ -1,3 +1,10 @@
+libcatmandu-mab2-perl (0.13-2) UNRELEASED; urgency=medium
+
+  * Team upload
+  * Fix t/06-sru.t to work without '.' in @INC
+
+ -- Dominic Hargreaves <d...@earth.li>  Thu, 18 Aug 2016 14:41:04 +0100
+
 libcatmandu-mab2-perl (0.13-1) unstable; urgency=medium
 
   [ upstream ]
diff -Nru libcatmandu-mab2-perl-0.13/debian/patches/cwd-inc-fix.diff libcatmandu-mab2-perl-0.13/debian/patches/cwd-inc-fix.diff
--- libcatmandu-mab2-perl-0.13/debian/patches/cwd-inc-fix.diff	1970-01-01 01:00:00.000000000 +0100
+++ libcatmandu-mab2-perl-0.13/debian/patches/cwd-inc-fix.diff	2016-08-18 13:16:28.000000000 +0100
@@ -0,0 +1,13 @@
+diff --git a/t/06-sru.t b/t/06-sru.t
+index f32dd4b..c947e77 100644
+--- a/t/06-sru.t
++++ b/t/06-sru.t
+@@ -4,7 +4,7 @@ use Test::More;
+ use Test::Exception;
+ use Catmandu::Importer::SRU;
+ use Catmandu::Importer::SRU::Parser::mabxml;
+-require 't/lib/MockFurl.pm';
++require './t/lib/MockFurl.pm';
+ 
+ use Data::Dumper;
+ 
diff -Nru libcatmandu-mab2-perl-0.13/debian/patches/series libcatmandu-mab2-perl-0.13/debian/patches/series
--- libcatmandu-mab2-perl-0.13/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ libcatmandu-mab2-perl-0.13/debian/patches/series	2016-08-18 13:16:39.000000000 +0100
@@ -0,0 +1 @@
+cwd-inc-fix.diff

Reply via email to