[rubygem-riot] F-19: Rebuild for ruby 2.0.0

Josef Stribny jstribny at fedoraproject.org
Wed Feb 27 10:59:59 UTC 2013


commit 0dab90e0dd221f722416c9c243105a722ddab6c0
Author: Josef Stribny <jstribny at redhat.com>
Date:   Wed Feb 27 11:59:49 2013 +0100

    F-19: Rebuild for ruby 2.0.0

 rubygem-riot.spec |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/rubygem-riot.spec b/rubygem-riot.spec
index d191d19..2ae10b1 100644
--- a/rubygem-riot.spec
+++ b/rubygem-riot.spec
@@ -1,6 +1,5 @@
 # Generated from riot-0.12.5.gem by gem2rpm -*- rpm-spec -*-
 %global gem_name riot
-%global rubyabi 1.9.1
 
 Summary: An extremely fast, expressive, and context-driven unit-testing framework
 Name: rubygem-%{gem_name}
@@ -10,10 +9,10 @@ Group: Development/Languages
 License: MIT
 URL: http://github.com/thumblemonks/riot
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(release)
 Requires: ruby(rubygems) 
 Requires: rubygem(rr) 
-BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby(release)
 BuildRequires: rubygems-devel 
 BuildRequires: rubygem(rr) 
 BuildRequires: rubygem(minitest) 
@@ -35,9 +34,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
 


More information about the scm-commits mailing list