rpms/rubygem-nokogiri/devel nokogiri-1.4.1-test-xml-element-number.patch, NONE, 1.1 rubygem-nokogiri.spec, 1.14, 1.15
Mamoru Tasaka
mtasaka at fedoraproject.org
Wed Apr 28 16:17:14 UTC 2010
Author: mtasaka
Update of /cvs/extras/rpms/rubygem-nokogiri/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv11654/devel
Modified Files:
rubygem-nokogiri.spec
Added Files:
nokogiri-1.4.1-test-xml-element-number.patch
Log Message:
* Thu Apr 29 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.4.1-2
- Fix build failure with libxml2 >= 2.7.7
nokogiri-1.4.1-test-xml-element-number.patch:
test_element_description.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE nokogiri-1.4.1-test-xml-element-number.patch ---
--- nokogiri-1.4.1/test/html/test_element_description.rb.fail 2010-04-29 00:37:20.000000000 +0900
+++ nokogiri-1.4.1/test/html/test_element_description.rb 2010-04-29 01:06:02.000000000 +0900
@@ -56,7 +56,7 @@
def test_subelements
sub_elements = ElementDescription['body'].sub_elements
- assert_equal 61, sub_elements.length
+ assert ( 61 <= sub_elements.length )
end
def test_default_sub_element
Index: rubygem-nokogiri.spec
===================================================================
RCS file: /cvs/extras/rpms/rubygem-nokogiri/devel/rubygem-nokogiri.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- rubygem-nokogiri.spec 15 Dec 2009 07:09:01 -0000 1.14
+++ rubygem-nokogiri.spec 28 Apr 2010 16:17:11 -0000 1.15
@@ -13,11 +13,12 @@
Summary: An HTML, XML, SAX, and Reader parser
Name: rubygem-%{gemname}
Version: 1.4.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: Development/Languages
License: MIT
URL: http://nokogiri.rubyforge.org/nokogiri/
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
+Patch0: nokogiri-1.4.1-test-xml-element-number.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ruby(abi) = %{rubyabi}
@@ -71,6 +72,10 @@ gem install \
-V --force \
%{SOURCE0}
+pushd .%{geminstdir}
+%patch0 -p1 -b .fail
+popd
+
%build
# cflags wrong (-O3 passed), recompiling
pushd ./%{geminstdir}
@@ -202,6 +207,9 @@ popd
%{ruby_sitelib}/xsd/
%changelog
+* Thu Apr 29 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.4.1-2
+- Fix build failure with libxml2 >= 2.7.7
+
* Tue Dec 15 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.4.1-1
- 1.4.1
More information about the scm-commits
mailing list