[SCM] Debian packaging of libmarc-xml-perl branch, master, updated. 787b954c27447e1e709cd1a4b82753f15ce2ac4f

Florian Schlichting fschlich at zedat.fu-berlin.de
Thu Mar 8 16:36:03 UTC 2012


The following commit has been merged in the master branch:
commit 8115095f543b3e67963e4b3057bf0d2ffcdb8bb0
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date:   Thu Mar 8 17:28:26 2012 +0100

    Added suppress_test_warning.patch, looks too real to not confuse

diff --git a/debian/changelog b/debian/changelog
index 1f606c2..c3644b2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,5 @@
 libmarc-xml-perl (0.93-1) UNRELEASED; urgency=low
 
-  TODO: new warning during build:
-  t/encode.t .......... ok
-  # found MARCXML element datafield, but the <record> wrapper is missing at /build/jon-libmarc-xml-perl_0.93-1-i386-_v4jHv/libmarc-xml-perl-0.93/blib/lib/MARC/File/XML.pm line 452
-  t/error-handling.t .. ok
-  (was not in 0.92, in archive; must investigate with upstream)
-
   [ Jonathan Yu ]
   * New upstream release
   * Bump debhelper compat level to 8
@@ -23,7 +17,10 @@ libmarc-xml-perl (0.93-1) UNRELEASED; urgency=low
   * debian/copyright: Replace DEP5 Format-Specification URL from
     svn.debian.org to anonscm.debian.org URL.
 
- -- Jonathan Yu <jawnsy at cpan.org>  Sat, 26 Feb 2011 22:08:17 -0500
+  [ Florian Schlichting ]
+  * Added suppress_test_warning.patch, looks too real to not confuse.
+
+ -- Florian Schlichting <fschlich at zedat.fu-berlin.de>  Thu, 08 Mar 2012 17:27:13 +0100
 
 libmarc-xml-perl (0.92-1) unstable; urgency=low
 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..eb68747
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+suppress_test_warning.patch
diff --git a/debian/patches/suppress_test_warning.patch b/debian/patches/suppress_test_warning.patch
new file mode 100644
index 0000000..1f3f8e5
--- /dev/null
+++ b/debian/patches/suppress_test_warning.patch
@@ -0,0 +1,18 @@
+Description: automatic testing shows a strange warning, which is intentional
+ Patch suppresses output of warning, as it confuses packagers.
+ .
+ Not forwarded, as output seems intentional (might be leftover from
+ development, though).
+Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
+Forwarded: not-needed
+
+--- a/t/error-handling.t
++++ b/t/error-handling.t
+@@ -10,7 +10,6 @@
+ my $r;
+ eval { $r = MARC::Record->new_from_xml($xml, 'UTF-8'); };
+ if ($@) {
+-    diag($@);
+     ok($@ =~ /found MARCXML element/, 'failed with sensible exception message');
+ } else {
+     fail('should have thrown an exception trying to parse XML from t/invalid.xml');

-- 
Debian packaging of libmarc-xml-perl



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