[rubygem-gettext_i18n_rails/f19] Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 and update to version 0.9.4

Josef Stribny jstribny at fedoraproject.org
Wed Apr 17 15:12:48 UTC 2013


commit 7501aed3362147b58d6cbb332e4d2ba1ed8df509
Author: Josef Stribny <jstribny at redhat.com>
Date:   Wed Apr 17 17:12:38 2013 +0200

    Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 and update to version 0.9.4

 .gitignore                      |    1 +
 rubygem-gettext_i18n_rails.spec |   14 +++++++-------
 sources                         |    2 +-
 3 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ddc0a2d..ae265d6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /gettext_i18n_rails-0.6.6.gem
 /gettext_i18n_rails-0.7.1.gem
 /gettext_i18n_rails-0.9.2.gem
+/gettext_i18n_rails-0.9.4.gem
diff --git a/rubygem-gettext_i18n_rails.spec b/rubygem-gettext_i18n_rails.spec
index 44ea78a..ae6db7e 100644
--- a/rubygem-gettext_i18n_rails.spec
+++ b/rubygem-gettext_i18n_rails.spec
@@ -1,16 +1,15 @@
 %global gem_name gettext_i18n_rails
 
-%global rubyabi 1.9.1
 
 Summary: Simple FastGettext Rails integration
 Name: rubygem-%{gem_name}
-Version: 0.9.2
+Version: 0.9.4
 Release: 1%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://github.com/grosser/gettext_i18n_rails
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(release)
 Requires: ruby(rubygems) 
 Requires: rubygem(fast_gettext) >= 0.4.8
 Requires: rubygem(rails)
@@ -43,9 +42,7 @@ Documentation for %{name}
 
 %prep
 %setup -q -c -T
-mkdir -p .%{gem_dir}
-gem install --local --install-dir .%{gem_dir} \
-            --force %{SOURCE0}
+%gem_install -n %{SOURCE0}
 
 %build
 
@@ -57,7 +54,6 @@ cp -a .%{gem_dir}/* \
 
 %check
 pushd .%{gem_instdir}
-# 2 tests fail due to missing gems 'slim' and 'hamlet'
 rspec -Ilib spec
 popd
 
@@ -81,6 +77,10 @@ popd
 %{gem_instdir}/gettext_i18n_rails.gemspec
 
 %changelog
+* Wed Apr 17 2013 Josef Stribny <jstribny at redhat.com> - 0.9.4-1
+- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
+- Updated to version 0.9.4.
+
 * Mon Feb 18 2013 Bohuslav Kabrda <bkabrda at redhat.com> - 0.9.2-1
 - Updated to version 0.9.2.
 
diff --git a/sources b/sources
index d43b676..09b6b14 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1fff97e570c977bdf8f65d1cb4546f8e  gettext_i18n_rails-0.9.2.gem
+0e5981f00b3d3d29a18a14646be0dc12  gettext_i18n_rails-0.9.4.gem


More information about the scm-commits mailing list