- Fix test failure on sparc

This commit is contained in:
Mamoru Tasaka 2009-08-21 17:33:20 +00:00
parent e52e796bc1
commit bbb64b20ec

View File

@ -13,7 +13,7 @@
Summary: An HTML, XML, SAX, and Reader parser
Name: rubygem-%{gemname}
Version: 1.3.3
Release: 1%{?dist}
Release: 2%{?dist}
Group: Development/Languages
License: MIT
URL: http://nokogiri.rubyforge.org/nokogiri/
@ -169,6 +169,10 @@ create_symlink_rec %{geminstdir}/lib %{ruby_sitelib}
rm -rf %{buildroot}
%check
# test_exslt(TestXsltTransforms) [./test/test_xslt_transforms.rb:93]
# fails without TZ on sparc
export TZ="Asia/Tokyo"
pushd ./%{geminstdir}
rake test --trace
popd
@ -198,6 +202,9 @@ popd
%{ruby_sitelib}/xsd/
%changelog
* Sat Aug 22 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.3.3-2
- Fix test failure on sparc
* Wed Jul 29 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.3.3-1
- 1.3.3