This is an automated email from the git hooks/post-receive script. fsfs pushed a commit to branch master in repository libplack-middleware-session-perl.
commit 3ce91fbeac423a9635448f1ed30dc8388ff4dfc7 Author: Florian Schlichting <f...@debian.org> Date: Tue Jan 2 20:46:20 2018 +0100 Add no-dot-in-inc.patch (closes: #871798) --- debian/patches/no-dot-in-inc.patch | 143 +++++++++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 144 insertions(+) diff --git a/debian/patches/no-dot-in-inc.patch b/debian/patches/no-dot-in-inc.patch new file mode 100644 index 0000000..95cb9e9 --- /dev/null +++ b/debian/patches/no-dot-in-inc.patch @@ -0,0 +1,143 @@ +From 99ccc3b9363483ae9648ec857a896555af0ecf11 Mon Sep 17 00:00:00 2001 +From: James E Keenan <jkee...@cpan.org> +Date: Sun, 2 Apr 2017 19:48:33 -0400 +Subject: [PATCH] perl-5.26.0 compatibility + +In Perl 5.26.0, '.' will no longer be found by default in @INC. This patch +adjusts test files so that 't::*' modules used in tests are properly located. + +For: https://github.com/plack/Plack-Middleware-Session/issues/36 +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871798 + +diff --git a/t/001_basic.t b/t/001_basic.t +index 1be9517..1a7e068 100755 +--- a/t/001_basic.t ++++ b/t/001_basic.t +@@ -10,6 +10,7 @@ use Plack::Session; + use Plack::Session::State; + use Plack::Session::Store; + ++use lib "."; + use t::lib::TestSession; + + t::lib::TestSession::run_all_tests( +diff --git a/t/001a_basic.t b/t/001a_basic.t +index fb0109d..0e5bed9 100644 +--- a/t/001a_basic.t ++++ b/t/001a_basic.t +@@ -9,6 +9,7 @@ use Plack::Request; + use Plack::Session::State; + use Plack::Session::Store; + ++use lib "."; + use t::lib::TestSessionHash; + + t::lib::TestSessionHash::run_all_tests( +diff --git a/t/002_basic_w_cookie.t b/t/002_basic_w_cookie.t +index b7f29e2..056908d 100755 +--- a/t/002_basic_w_cookie.t ++++ b/t/002_basic_w_cookie.t +@@ -11,6 +11,7 @@ use Plack::Session::State::Cookie; + use Plack::Session::Store; + use Plack::Util; + ++use lib "."; + use t::lib::TestSession; + + t::lib::TestSession::run_all_tests( +diff --git a/t/002a_basic_w_cookie.t b/t/002a_basic_w_cookie.t +index a16016e..6826464 100644 +--- a/t/002a_basic_w_cookie.t ++++ b/t/002a_basic_w_cookie.t +@@ -10,6 +10,7 @@ use Plack::Session::State::Cookie; + use Plack::Session::Store; + use Plack::Util; + ++use lib "."; + use t::lib::TestSessionHash; + + t::lib::TestSessionHash::run_all_tests( +diff --git a/t/003_basic_w_file_store.t b/t/003_basic_w_file_store.t +index 0f104f1..ab306fa 100755 +--- a/t/003_basic_w_file_store.t ++++ b/t/003_basic_w_file_store.t +@@ -12,6 +12,7 @@ use Plack::Session; + use Plack::Session::State::Cookie; + use Plack::Session::Store::File; + ++use lib "."; + use t::lib::TestSession; + + my $tmp = tempdir(CLEANUP => 1); +diff --git a/t/003a_basic_w_file_store.t b/t/003a_basic_w_file_store.t +index 7a21196..047a40f 100755 +--- a/t/003a_basic_w_file_store.t ++++ b/t/003a_basic_w_file_store.t +@@ -11,6 +11,7 @@ use Plack::Request; + use Plack::Session::State::Cookie; + use Plack::Session::Store::File; + ++use lib "."; + use t::lib::TestSessionHash; + + my $tmp = tempdir(CLEANUP => 1); +diff --git a/t/004_basic_file_w_customs.t b/t/004_basic_file_w_customs.t +index 9dea950..571aa0f 100755 +--- a/t/004_basic_file_w_customs.t ++++ b/t/004_basic_file_w_customs.t +@@ -13,6 +13,7 @@ use Plack::Session; + use Plack::Session::State::Cookie; + use Plack::Session::Store::File; + ++use lib "."; + use t::lib::TestSession; + + my $tmp = tempdir(CLEANUP => 1); +diff --git a/t/004a_basic_file_w_customs.t b/t/004a_basic_file_w_customs.t +index f1b727e..0e0b3a2 100755 +--- a/t/004a_basic_file_w_customs.t ++++ b/t/004a_basic_file_w_customs.t +@@ -12,6 +12,7 @@ use Plack::Request; + use Plack::Session::State::Cookie; + use Plack::Session::Store::File; + ++use lib "."; + use t::lib::TestSessionHash; + + my $tmp = tempdir(CLEANUP => 1); +diff --git a/t/005_basic_w_cache_store.t b/t/005_basic_w_cache_store.t +index 3cb9b24..4065474 100755 +--- a/t/005_basic_w_cache_store.t ++++ b/t/005_basic_w_cache_store.t +@@ -10,6 +10,7 @@ use Plack::Session; + use Plack::Session::State; + use Plack::Session::Store::Cache; + ++use lib "."; + use t::lib::TestSession; + + { +diff --git a/t/005a_basic_w_cache_store.t b/t/005a_basic_w_cache_store.t +index 04b9f7c..355ec1b 100644 +--- a/t/005a_basic_w_cache_store.t ++++ b/t/005a_basic_w_cache_store.t +@@ -9,6 +9,7 @@ use Plack::Request; + use Plack::Session::State; + use Plack::Session::Store::Cache; + ++use lib "."; + use t::lib::TestSessionHash; + + { +diff --git a/t/006_basic_w_dbi_store.t b/t/006_basic_w_dbi_store.t +index 2b7b03d..da2047a 100644 +--- a/t/006_basic_w_dbi_store.t ++++ b/t/006_basic_w_dbi_store.t +@@ -13,6 +13,7 @@ use Plack::Session; + use Plack::Session::State::Cookie; + use Plack::Session::Store::DBI; + ++use lib "."; + use t::lib::TestSession; + + my $tmp = tempdir(CLEANUP => 1); diff --git a/debian/patches/series b/debian/patches/series index a2a2aa2..c49908e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ switch-to-digest-sha.patch +no-dot-in-inc.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libplack-middleware-session-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