Update to I18n 0.6.0.

- Removed unneeded %defattr usage.
f38
Bohuslav Kabrda 13 years ago
parent a5ebc1cb89
commit 3cc7239414

1
.gitignore vendored

@ -1,2 +1,3 @@
/i18n-0.4.2.gem
/i18n-0.5.0.gem
/i18n-0.6.0.gem

@ -2,8 +2,8 @@
Summary: New wave Internationalization support for Ruby
Name: rubygem-%{gem_name}
Version: 0.5.0
Release: 3%{?dist}
Version: 0.6.0
Release: 1%{?dist}
Group: Development/Languages
License: MIT and (GPLv2 or Ruby)
URL: http://github.com/svenfuchs/i18n
@ -52,18 +52,16 @@ pushd .%{gem_instdir}
# Bundler just complicates everything in our case, remove it.
sed -i -e "s|require 'bundler/setup'||" test/test_helper.rb
# workaround for failing test - but I consider it to be a bug,
# upstream fix doesn't work
# see https://github.com/svenfuchs/i18n/issues/114#issuecomment-7065131
echo ' ' > test/test_data/locales/invalid/empty.yml
# Tests are failing without LANG environment is set.
# https://github.com/svenfuchs/i18n/issues/115
# The test failure is due to change of default YAML engine in Ruby 1.9.3.
# https://github.com/svenfuchs/i18n/issues/114
LANG=en_US.utf8 testrb -Ilib test/all.rb | \
grep "1021 tests, 1500 assertions, 1 failures, 0 errors, 0 skips"
LANG=en_US.utf8 testrb -Ilib test/all.rb
popd
%files
%defattr(-, root, root, -)
%dir %{gem_instdir}
%{gem_libdir}
%doc %{gem_instdir}/README.textile
@ -73,13 +71,16 @@ popd
%{gem_spec}
%files doc
%defattr(-, root, root, -)
%{gem_instdir}/ci
%{gem_instdir}/test
%doc %{gem_docdir}
%changelog
* Wed Jul 18 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.6.0-1
- Update to I18n 0.6.0.
- Removed unneeded %%defattr usage.
* Thu Jan 19 2012 Vít Ondruch <vondruch@redhat.com> - 0.5.0-3
- Rebuilt for Ruby 1.9.3.
- Enabled test suite.

@ -1 +1 @@
761d743478dfbdc4f2c1743d5241c009 i18n-0.5.0.gem
fb94282dab8aadb7de15db134f8133ff i18n-0.6.0.gem

Loading…
Cancel
Save