This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libfile-bom-perl.

commit fa8e6ce21e6188ba7247c0b8b9f0718c24bada10
Author: gregor herrmann <gre...@debian.org>
Date:   Wed Aug 12 20:52:22 2015 +0200

    Add a patch to fix autopkgtest.
    
    Thanks: ci.debian.net
---
 debian/patches/autopkgtest.patch | 19 +++++++++++++++++++
 debian/patches/series            |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch
new file mode 100644
index 0000000..b0b249a
--- /dev/null
+++ b/debian/patches/autopkgtest.patch
@@ -0,0 +1,19 @@
+Description: adjust path for installed package / autopkgtest
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2015-08-12
+
+--- a/t/04..pod.t
++++ b/t/04..pod.t
+@@ -14,8 +14,9 @@
+ 
+     skip "Test::Pod not installed", scalar @modules if $@;
+ 
++    my $dir = $ENV{ADTTMP} ? '/usr/share/perl5' : 'lib';
+     for my $module (@modules) {
+-        my @path = ('lib', split('::', $module));
++        my @path = ($dir, split('::', $module));
+         my $file = pop(@path) . '.pm';
+         
+         pod_file_ok(catfile(@path, $file), "$module pod ok");
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..aba7ccb
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+autopkgtest.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libfile-bom-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to