[libpod-spell-perl] 01/02: Use the installed podspell for autopkgtests instead of the one from the source package
Florian Schlichting
fsfs at moszumanska.debian.org
Sat Aug 15 13:54:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to branch master
in repository libpod-spell-perl.
commit f39be29594c317a7f4ef4b81c5e209d9463e2da8
Author: Florian Schlichting <fsfs at debian.org>
Date: Sat Aug 15 15:48:49 2015 +0200
Use the installed podspell for autopkgtests instead of the one from the source package
---
debian/patches/autopkgtest.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
debian/tests/pkg-perl/test-files | 2 --
3 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch
new file mode 100644
index 0000000..acb1201
--- /dev/null
+++ b/debian/patches/autopkgtest.patch
@@ -0,0 +1,18 @@
+Description: test installed script when running under autopkgtest
+Origin: vendor
+Forwarded: not-needed
+Author: Florian Schlichting <fsfs at debian.org>
+
+--- a/t/00-compile.t
++++ b/t/00-compile.t
+@@ -13,8 +13,9 @@
+ 'Pod/Wordlist.pm'
+ );
+
++my $bindir = $ENV{ADTTMP} ? '/usr/bin' : 'bin';
+ my @scripts = (
+- 'bin/podspell'
++ "$bindir/podspell"
+ );
+
+ # no fake home requested
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
diff --git a/debian/tests/pkg-perl/test-files b/debian/tests/pkg-perl/test-files
deleted file mode 100644
index 73e92a2..0000000
--- a/debian/tests/pkg-perl/test-files
+++ /dev/null
@@ -1,2 +0,0 @@
-t/
-bin/podspell
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpod-spell-perl.git
More information about the Pkg-perl-cvs-commits
mailing list