[libnet-jabber-perl] 01/07: Add patch from CPAN RT to make tests pass with timezones with spaces.

gregor herrmann gregoa at debian.org
Tue Aug 23 17:52:38 UTC 2016


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

gregoa pushed a commit to branch master
in repository libnet-jabber-perl.

commit 04ff2e75433f94f0fd307d887a33d48e1257aa7d
Author: gregor herrmann <gregoa at debian.org>
Date:   Tue Aug 23 19:14:57 2016 +0200

    Add patch from CPAN RT to make tests pass with timezones with spaces.
    
    Thanks: Santiago Vila for the bug report.
    Closes: #835133
---
 debian/patches/70timezone.patch | 19 +++++++++++++++++++
 debian/patches/series           |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/70timezone.patch b/debian/patches/70timezone.patch
new file mode 100644
index 0000000..ba84d35
--- /dev/null
+++ b/debian/patches/70timezone.patch
@@ -0,0 +1,19 @@
+Description: The patch makes the testsuite pass with timezones such as `MET DST' and similar.
+Origin: CPAN RT
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=96404
+Bug-Debian: https://bugs.debian.org/835133
+Author: contyk at cpan.org
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2016-08-23
+
+--- a/t/query_time.t
++++ b/t/query_time.t
+@@ -55,7 +55,7 @@
+     eval("use Time::Timezone 99.062401;");
+     skip "Time::Timezone not installed", 1 if $@;
+ 
+-    like( $query3->GetTZ(), qr/^\S+$/, "look like a timezone?" );
++    like( $query3->GetTZ(), qr/^\S+( \S+)?$/, "look like a timezone?" );
+ }
+ 
+ 
diff --git a/debian/patches/series b/debian/patches/series
index b9d76cc..1a9070d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 40hash-randomisation.patch
 50spelling.patch
 60pod.patch
+70timezone.patch

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



More information about the Pkg-perl-cvs-commits mailing list