[SCM] Debian packaging of libxml-atom-service-perl branch, master, updated. 4b950ec8bcb01dc9c5ae5c26f18b67e7a21e1a9f

gregor herrmann gregoa at debian.org
Sun Oct 23 00:13:41 UTC 2011


The following commit has been merged in the master branch:
commit ebf5159373a626db5da639a007297f49f4666cbb
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Oct 23 02:07:28 2011 +0200

    Add a patch to make 2 regexp in the test suite case-insensitive; XML::Atom
    has changed from utf-8 to UTF-8 in 0.40.
    
    Closes: #646296
    Thanks: Dominic Hargreaves for the bug report

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6f2d5f4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+utf8-case.patch
diff --git a/debian/patches/utf8-case.patch b/debian/patches/utf8-case.patch
new file mode 100644
index 0000000..5588f17
--- /dev/null
+++ b/debian/patches/utf8-case.patch
@@ -0,0 +1,32 @@
+Description: make the test regexp case-insensitive
+ XML::Atom since 0.40 "use(s) all upper case UTF-8",
+ leading to build failures (Debian and cpantesters)
+Origin: vendor
+Bug: https://rt.cpan.org/Ticket/Display.html?id=71860
+Bug-Debian: http://bugs.debian.org/646296
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=71860
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2011-10-23
+
+--- a/t/02.categories.t
++++ b/t/02.categories.t
+@@ -54,7 +54,7 @@
+ is $category[1]->term, 'serious';
+ 
+ my $xml = $categories->as_xml;
+-like $xml, qr!^<\?xml version="1.0" encoding="utf-8"\?>!;
++like $xml, qr!^<\?xml version="1.0" encoding="utf-8"\?>!i;
+ 
+ like $xml, qr!<categories xmlns="http://www.w3.org/2007/app"!;
+ like $xml, qr!fixed="yes"!;
+--- a/t/05.service.t
++++ b/t/05.service.t
+@@ -31,7 +31,7 @@
+ is $workspace[1]->title, 'Baz Quux';
+ 
+ my $xml = $service->as_xml;
+-like $xml, qr!^<\?xml version="1.0" encoding="utf-8"\?>!;
++like $xml, qr!^<\?xml version="1.0" encoding="utf-8"\?>!i;
+ 
+ my $ns_uri = $XML::Atom::Util::NS_MAP{ $XML::Atom::DefaultVersion };
+ like $xml, qr!<service xmlns="http://www.w3.org/2007/app"(?: xmlns:atom="$ns_uri">)?!;

-- 
Debian packaging of libxml-atom-service-perl



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