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

Vít Ondruch vondruch at fedoraproject.org
Mon Mar 4 12:28:29 UTC 2013


commit 95095862289d0f295b2497e6b7a3442e2ca53afb
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Mon Mar 4 13:18:41 2013 +0100

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

 rubygem-activeresource.spec |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/rubygem-activeresource.spec b/rubygem-activeresource.spec
index 61018b1..e8f1e42 100644
--- a/rubygem-activeresource.spec
+++ b/rubygem-activeresource.spec
@@ -1,13 +1,12 @@
 # Generated from activeresource-2.0.1.gem by gem2rpm -*- rpm-spec -*-
 %global gem_name activeresource
 
-%global rubyabi 1.9.1
 
 Summary: Active Record for web resources
 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
@@ -23,7 +22,7 @@ Source0: http://rubygems.org/downloads/activeresource-%{version}.gem
 Source1: activeresource-%{version}-tests.tgz
 
 # Let's keep Requires and BuildRequires sorted alphabeticaly
-Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(release)
 Requires: ruby(rubygems)
 Requires: rubygem(activemodel) = %{version}
 Requires: rubygem(activesupport) = %{version}
@@ -49,9 +48,7 @@ Documentation for %{name}
 
 %prep
 %setup -q -c -T
-mkdir -p ./%{gem_dir}
-gem install --local --install-dir ./%{gem_dir} \
-            --force --rdoc %{SOURCE0}
+%gem_install -n %{SOURCE0}
 
 %build
 
@@ -103,6 +100,9 @@ popd
 %doc %{gem_instdir}/README.rdoc
 
 %changelog
+* Mon Mar 04 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
 - Update to ActiveResource 3.2.12.
 


More information about the scm-commits mailing list