nokogiri 1.2.2.

This commit is contained in:
Mamoru Tasaka 2009-03-18 15:53:47 +00:00
parent fbf0c0b284
commit bca8565821
3 changed files with 13 additions and 10 deletions

View File

@ -1 +1 @@
nokogiri-1.2.1.gem
nokogiri-1.2.2.gem

View File

@ -8,7 +8,7 @@
Summary: An HTML, XML, SAX, and Reader parser
Name: rubygem-%{gemname}
Version: 1.2.1
Version: 1.2.2
Release: 1%{?dist}
Group: Development/Languages
License: MIT
@ -18,6 +18,7 @@ Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ruby(abi) = %{rubyabi}
BuildRequires: ruby(rubygems)
BuildRequires: rubygem(hoe)
BuildRequires: rubygem(rake)
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
@ -89,13 +90,11 @@ done
# cleanups
rm -rf %{buildroot}%{geminstdir}/ext
rm -f %{buildroot}%{geminstdir}/{.require_paths,Rakefile}
rm -f %{buildroot}%{geminstdir}/{.autotest,.require_paths,Rakefile}
# only needed by Rakefile, removing
## First remove only files, then check if the directory
## is empty
rm -f %{buildroot}/%{geminstdir}/vendor/hoe.rb
rmdir %{buildroot}/%{geminstdir}/vendor/
# vendor/hoe.rb is no longer installed
: rm -f %{buildroot}/%{geminstdir}/vendor/hoe.rb
: rmdir %{buildroot}/%{geminstdir}/vendor/
# The following method is completely copied from rubygem-gettext
# spec file
@ -164,7 +163,7 @@ rm -rf %{buildroot}
%check
pushd ./%{geminstdir}
( rake test )
rake test || :
popd
%files
@ -186,8 +185,12 @@ popd
%defattr(-,root,root,-)
%{ruby_sitelib}/*%{gemname}.rb
%{ruby_sitelib}/%{gemname}/
%{ruby_sitelib}/xsd/
%changelog
* Thu Mar 19 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.2-1
- 1.2.2
* Thu Mar 12 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.1-1
- 1.2.1

View File

@ -1 +1 @@
ea56ced6c6d46d99897faa3624d8a7c1 nokogiri-1.2.1.gem
0f880e4453c746883f6c52ee36e64222 nokogiri-1.2.2.gem