nokogiri 1.2.2.
This commit is contained in:
parent
fbf0c0b284
commit
bca8565821
@ -1 +1 @@
|
||||
nokogiri-1.2.1.gem
|
||||
nokogiri-1.2.2.gem
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user