summaryrefslogtreecommitdiffstats
path: root/rubygem-nokogiri.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rubygem-nokogiri.spec')
-rw-r--r--rubygem-nokogiri.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/rubygem-nokogiri.spec b/rubygem-nokogiri.spec
index a45d01b..d476248 100644
--- a/rubygem-nokogiri.spec
+++ b/rubygem-nokogiri.spec
@@ -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@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@ioa.s.u-tokyo.ac.jp> - 1.4.1-1
- 1.4.1