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

gregoa pushed a commit to branch master
in repository libhtml-truncate-perl.

commit 868653a354ed96df84b6946a067b594f5e083563
Author: gregor herrmann <gre...@debian.org>
Date:   Fri Oct 30 17:09:18 2015 +0100

    add autopkgtest.patch to find installed module
    
    Gbp-Dch: Ignore
---
 debian/patches/autopkgtest.patch | 23 +++++++++++++++++++++++
 debian/patches/series            |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch
new file mode 100644
index 0000000..591acab
--- /dev/null
+++ b/debian/patches/autopkgtest.patch
@@ -0,0 +1,23 @@
+Description: change location of module when run under autopkgtest
+Origin: vendor
+Forwarded: not needed
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2015-10-30
+
+--- a/t/synopsis.t
++++ b/t/synopsis.t
+@@ -3,11 +3,13 @@
+ use FindBin;
+ use File::Spec;
+ use lib File::Spec->catfile($FindBin::Bin, 'lib');
++use Config;
+ 
+ use Test::More tests => 2;
+ 
+ #------------------------------------------------------------------
+-open F, '<', "$FindBin::Bin/../lib/HTML/Truncate.pm"
++my $dir = $ENV{ADTTMP} ? $Config{vendorlib} : "$FindBin::Bin/../lib";
++open F, '<', "$dir/HTML/Truncate.pm"
+     or die "Couldn't open self module to read!";
+ 
+ my $synopsis = '';
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/libhtml-truncate-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