[rubygem-rails] Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0

Vít Ondruch vondruch at fedoraproject.org
Sat Mar 9 20:27:55 UTC 2013


commit b3ba580b4bc5501d220859647e26b9ed8c2e31a1
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Sat Mar 9 21:13:26 2013 +0100

    Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0

 rubygem-rails.spec |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/rubygem-rails.spec b/rubygem-rails.spec
index c3c07d0..47b3429 100644
--- a/rubygem-rails.spec
+++ b/rubygem-rails.spec
@@ -1,13 +1,12 @@
 # Generated from rails-1.2.5.gem by gem2rpm -*- rpm-spec -*-
 %global gem_name rails
 
-%global rubyabi 1.9.1
 
 Summary: Web-application framework
 Name: rubygem-%{gem_name}
 Epoch: 1
 Version: 3.2.12
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://www.rubyonrails.org
@@ -20,7 +19,7 @@ Requires: rubygem(actionmailer) = %{version}
 Requires: rubygem(activeresource) = %{version}
 Requires: rubygem(railties) = %{version}
 Requires: rubygem(bundler) >= 1.0
-Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(release)
 
 BuildRequires: rubygems-devel
 
@@ -38,17 +37,17 @@ Oracle with eRuby- or Builder-based templates.
 %build
 
 %install
-mkdir -p %{buildroot}%{gem_dir}
-gem install --local --install-dir %{buildroot}%{gem_dir} \
-            --bindir %{buildroot}%{_bindir} \
-            -V --no-rdoc --no-ri \
-            --force %{SOURCE0}
+%gem_install -n %{SOURCE0} -d %{buildroot}%{gem_dir}
 
 %files
 %{gem_spec}
 %exclude %{gem_cache}
+%exclude %{gem_docdir}
 
 %changelog
+* Sat Mar 09 2013 Vít Ondruch <vondruch at redhat.com> - 1:3.2.12-2
+- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
+
 * Tue Feb 12 2013 Vít Ondruch <vondruch at redhat.com> - 1:3.2.12-1
 - Updated to Rails 3.2.12.
 


More information about the scm-commits mailing list