summaryrefslogtreecommitdiffstats
path: root/rubygem-nokogiri.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rubygem-nokogiri.spec')
-rw-r--r--rubygem-nokogiri.spec16
1 files changed, 12 insertions, 4 deletions
diff --git a/rubygem-nokogiri.spec b/rubygem-nokogiri.spec
index d476248..1ce0273 100644
--- a/rubygem-nokogiri.spec
+++ b/rubygem-nokogiri.spec
@@ -12,13 +12,14 @@
Summary: An HTML, XML, SAX, and Reader parser
Name: rubygem-%{gemname}
-Version: 1.4.1
-Release: 2%{?dist}
+Version: 1.4.2
+Release: 1%{?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
+Patch0: nokogiri-1.4.2-test-xml-element-number.patch
+Patch1: nokogiri-1.4.2-rake-task.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ruby(abi) = %{rubyabi}
@@ -73,7 +74,8 @@ gem install \
%{SOURCE0}
pushd .%{geminstdir}
-%patch0 -p1 -b .fail
+%patch0 -p1 -b .orig_fail
+%patch1 -p1 -b .orig_task
popd
%build
@@ -88,6 +90,9 @@ rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
cp -a ./%{gemdir}/* %{buildroot}%{gemdir}
+# Remove backup file
+find %{buildroot} -name \*.orig_\* | xargs rm -vf
+
# move arch dependent files to %%ruby_sitearch
mkdir -p %{buildroot}%{ruby_sitearch}/%{gemname}
mv %{buildroot}%{geminstdir}/lib/%{gemname}/*.so \
@@ -207,6 +212,9 @@ popd
%{ruby_sitelib}/xsd/
%changelog
+* Wed May 26 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.2-1
+- 1.4.2
+
* 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