[DRE-commits] r5985 - in trunk/libnokogiri-ruby/debian: . patches

Ryan Niebur ryan at alioth.debian.org
Tue Dec 14 04:29:17 UTC 2010


Author: ryan
Date: 2010-12-14 04:29:17 +0000 (Tue, 14 Dec 2010)
New Revision: 5985

Modified:
   trunk/libnokogiri-ruby/debian/changelog
   trunk/libnokogiri-ruby/debian/patches/fix-test_element_description.rb.patch
Log:
fix failing tests (and resulting FTBFS) with libxml 2.7.8, thanks to
Mike Dalessio (Closes: #606296)

Modified: trunk/libnokogiri-ruby/debian/changelog
===================================================================
--- trunk/libnokogiri-ruby/debian/changelog	2010-12-14 04:17:06 UTC (rev 5984)
+++ trunk/libnokogiri-ruby/debian/changelog	2010-12-14 04:29:17 UTC (rev 5985)
@@ -1,3 +1,10 @@
+libnokogiri-ruby (1.4.0-4) unstable; urgency=low
+
+  * fix failing tests (and resulting FTBFS) with libxml 2.7.8, thanks to
+    Mike Dalessio (Closes: #606296)
+
+ -- Ryan Niebur <ryan at debian.org>  Mon, 13 Dec 2010 20:28:41 -0800
+
 libnokogiri-ruby (1.4.0-3.1) unstable; urgency=low
 
   * Non-maintainer upload.

Modified: trunk/libnokogiri-ruby/debian/patches/fix-test_element_description.rb.patch
===================================================================
--- trunk/libnokogiri-ruby/debian/patches/fix-test_element_description.rb.patch	2010-12-14 04:17:06 UTC (rev 5984)
+++ trunk/libnokogiri-ruby/debian/patches/fix-test_element_description.rb.patch	2010-12-14 04:29:17 UTC (rev 5985)
@@ -7,7 +7,7 @@
        def test_subelements
          sub_elements = ElementDescription['body'].sub_elements
 -        assert_equal 61, sub_elements.length
-+        if Nokogiri.uses_libxml? && Nokogiri::LIBXML_VERSION == '2.7.7'
++        if Nokogiri.uses_libxml? && Nokogiri::LIBXML_VERSION >= '2.7.7'
 +          assert_equal 65, sub_elements.length
 +        elsif Nokogiri.uses_libxml?
 +          assert_equal 61, sub_elements.length




More information about the Pkg-ruby-extras-commits mailing list