[libapp-info-perl] 02/06: Make the package autopkgtestable
Niko Tyni
ntyni at moszumanska.debian.org
Sat Jun 6 18:51:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
ntyni pushed a commit to branch master
in repository libapp-info-perl.
commit 8ccb94b054c0dc1c05062d466ee3045237b437a7
Author: Niko Tyni <ntyni at debian.org>
Date: Sat Jun 6 21:01:37 2015 +0300
Make the package autopkgtestable
---
debian/control | 1 +
...bangs-in-t-scripts-for-Debian-autopkgtest.patch | 125 +++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 127 insertions(+)
diff --git a/debian/control b/debian/control
index d63d5ea..ac8d9be 100644
--- a/debian/control
+++ b/debian/control
@@ -2,6 +2,7 @@ Source: libapp-info-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: gregor herrmann <gregoa at debian.org>
Section: perl
+Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper (>= 8)
Build-Depends-Indep: libtest-pod-perl,
diff --git a/debian/patches/0001-Fix-shebangs-in-t-scripts-for-Debian-autopkgtest.patch b/debian/patches/0001-Fix-shebangs-in-t-scripts-for-Debian-autopkgtest.patch
new file mode 100644
index 0000000..81584d8
--- /dev/null
+++ b/debian/patches/0001-Fix-shebangs-in-t-scripts-for-Debian-autopkgtest.patch
@@ -0,0 +1,125 @@
+From a76a577a85c9290d78210b3fa97adc391173aa0b Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at debian.org>
+Date: Sat, 6 Jun 2015 21:36:51 +0300
+Subject: [PATCH] Fix shebangs in t/scripts/* for Debian autopkgtest
+
+These are substituted during the build, but the Debian runtime
+test system re-uses the test suite from an unbuilt source tree.
+
+Forwarded: not-needed
+---
+ t/scripts/httpd | 2 +-
+ t/scripts/httpd2 | 2 +-
+ t/scripts/iconv | 2 +-
+ t/scripts/myapxs | 2 +-
+ t/scripts/mycreatedb | 2 +-
+ t/scripts/myuuid | 2 +-
+ t/scripts/pg_config | 2 +-
+ t/scripts/postgres | 2 +-
+ t/scripts/sqlite3 | 2 +-
+ t/scripts/uuid-config | 2 +-
+ 10 files changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/t/scripts/httpd b/t/scripts/httpd
+index 4a7c468..79a863f 100755
+--- a/t/scripts/httpd
++++ b/t/scripts/httpd
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+
+ eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
+ if 0; # not running under some shell
+diff --git a/t/scripts/httpd2 b/t/scripts/httpd2
+index fe79f3c..5825177 100755
+--- a/t/scripts/httpd2
++++ b/t/scripts/httpd2
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+
+ eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
+ if 0; # not running under some shell
+diff --git a/t/scripts/iconv b/t/scripts/iconv
+index 48bb54e..f4367c5 100755
+--- a/t/scripts/iconv
++++ b/t/scripts/iconv
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+
+ eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
+ if 0; # not running under some shell
+diff --git a/t/scripts/myapxs b/t/scripts/myapxs
+index 1826987..287491b 100755
+--- a/t/scripts/myapxs
++++ b/t/scripts/myapxs
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+
+ eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
+ if 0; # not running under some shell
+diff --git a/t/scripts/mycreatedb b/t/scripts/mycreatedb
+index 1d2027a..09e64e8 100755
+--- a/t/scripts/mycreatedb
++++ b/t/scripts/mycreatedb
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+
+ eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
+ if 0; # not running under some shell
+diff --git a/t/scripts/myuuid b/t/scripts/myuuid
+index 1d2027a..09e64e8 100755
+--- a/t/scripts/myuuid
++++ b/t/scripts/myuuid
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+
+ eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
+ if 0; # not running under some shell
+diff --git a/t/scripts/pg_config b/t/scripts/pg_config
+index aea1823..b91c400 100755
+--- a/t/scripts/pg_config
++++ b/t/scripts/pg_config
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+
+ eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
+ if 0; # not running under some shell
+diff --git a/t/scripts/postgres b/t/scripts/postgres
+index 1d2027a..09e64e8 100755
+--- a/t/scripts/postgres
++++ b/t/scripts/postgres
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+
+ eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
+ if 0; # not running under some shell
+diff --git a/t/scripts/sqlite3 b/t/scripts/sqlite3
+index fad1edb..46a7ac9 100755
+--- a/t/scripts/sqlite3
++++ b/t/scripts/sqlite3
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+
+ eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
+ if 0; # not running under some shell
+diff --git a/t/scripts/uuid-config b/t/scripts/uuid-config
+index 2f816df..e2da750 100755
+--- a/t/scripts/uuid-config
++++ b/t/scripts/uuid-config
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+
+ eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
+ if 0; # not running under some shell
+--
+2.1.4
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..46f8064
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-shebangs-in-t-scripts-for-Debian-autopkgtest.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libapp-info-perl.git
More information about the Pkg-perl-cvs-commits
mailing list