rpms/perl-XML-LibXML/devel perl-XML-LibXML-1.62-undef-test-fix.patch, NONE, 1.1 perl-XML-LibXML.spec, 1.19, 1.20

Tom Callaway (spot) fedora-extras-commits at redhat.com
Wed Oct 17 05:07:36 UTC 2007


Author: spot

Update of /cvs/pkgs/rpms/perl-XML-LibXML/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24413

Modified Files:
	perl-XML-LibXML.spec 
Added Files:
	perl-XML-LibXML-1.62-undef-test-fix.patch 
Log Message:

fix stupid test failure


perl-XML-LibXML-1.62-undef-test-fix.patch:

--- NEW FILE perl-XML-LibXML-1.62-undef-test-fix.patch ---
diff -up XML-LibXML-1.62/t/03doc.t.BAD XML-LibXML-1.62/t/03doc.t
--- XML-LibXML-1.62/t/03doc.t.BAD	2007-09-03 11:54:24.000000000 -0400
+++ XML-LibXML-1.62/t/03doc.t	2007-09-03 11:54:41.000000000 -0400
@@ -206,8 +206,8 @@ use XML::LibXML::Common qw(:libxml);
         ok($pi);
         ok($pi->nodeType, XML_PI_NODE);
         ok($pi->nodeName, "foo");
-        ok( $pi->textContent, undef);
-        ok( $pi->getData, undef);
+        ok( $pi->textContent, "");
+        ok( $pi->getData, "");
 	$pi->setData(q(bar&));
 	ok( $pi->getData, q(bar&));
         ok($pi->textContent, q(bar&));


Index: perl-XML-LibXML.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-XML-LibXML/devel/perl-XML-LibXML.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- perl-XML-LibXML.spec	17 Oct 2007 04:51:28 -0000	1.19
+++ perl-XML-LibXML.spec	17 Oct 2007 05:07:02 -0000	1.20
@@ -3,7 +3,7 @@
 Summary: XML-LibXML Perl module
 Name: perl-XML-LibXML
 Version: 1.62001
-Release: 2%{?dist}.2
+Release: 2%{?dist}.3
 License: GPL+ or Artistic
 Group: Development/Libraries
 URL: http://search.cpan.org/dist/XML-LibXML/
@@ -14,6 +14,7 @@
 Requires: %(perl -MConfig -le 'if (defined $Config{uselargefiles}) { print "perl(:WITH_LARGEFILES)" } else { print "perl(:WITHOUT_LARGEFILES)" }')
 Requires: perl(:MODULE_COMPAT_%(perl -MConfig -e 'print $Config{version}'))
 Source0: http://www.cpan.org/authors/id/P/PA/PAJAS/XML-LibXML-1.62001.tar.gz
+Patch0: perl-XML-LibXML-1.62-undef-test-fix.patch
 BuildRequires: perl-XML-LibXML-Common perl-XML-SAX perl-XML-NamespaceSupport
 BuildRequires: libxml2-devel
 BuildRequires: perl(ExtUtils::MakeMaker)
@@ -29,6 +30,7 @@
 #contains a dir called XML-LibXML-1.62
 
 %setup -q -n XML-LibXML-1.62
+%patch0 -p1
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" SKIP_SAX_INSTALL=1 perl Makefile.PL INSTALLDIRS=vendor
@@ -71,6 +73,9 @@
 %{_mandir}/man3/*.3*
 
 %changelog
+* Wed Oct 17 2007 Tom "spot" Callaway <tcallawa at redhat.com> - 1.62001-2.3
+- fix stupid test
+
 * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa at redhat.com> - 1.62001-2.2
 - add BR: perl(Test::More)
 




More information about the fedora-extras-commits mailing list