[rubygem-rr] F-19: Rebuild for ruby 2.0.0
Mamoru Tasaka
mtasaka at fedoraproject.org
Wed Feb 27 04:50:28 UTC 2013
commit bcb4b0cbcd22f395e556a5a84bedd73ed20c9e65
Author: TASAKA Mamoru <mtasaka at localhost.localdomain>
Date: Wed Feb 27 13:50:14 2013 +0900
F-19: Rebuild for ruby 2.0.0
rubygem-rr.spec | 24 +++++++-----------------
1 files changed, 7 insertions(+), 17 deletions(-)
---
diff --git a/rubygem-rr.spec b/rubygem-rr.spec
index ffad241..e1a2c46 100644
--- a/rubygem-rr.spec
+++ b/rubygem-rr.spec
@@ -1,17 +1,16 @@
%global gem_name rr
-%global rubyabi 1.9.1
Summary: RR (Double Ruby) is a test double framework
Name: rubygem-%{gem_name}
Version: 1.0.4
-Release: 7%{?dist}
+Release: 8%{?dist}
Group: Development/Languages
License: MIT
URL: http://pivotallabs.com
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(release)
Requires: ruby(rubygems)
-BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby(release)
BuildRequires: ruby-irb
BuildRequires: rubygems-devel
BuildArch: noarch
@@ -55,19 +54,7 @@ mkdir -p .%{gem_dir}
# Create the gem as gem install only works on a gem file
gem build %{gem_name}.gemspec
-export CONFIGURE_ARGS="--with-cflags='%{optflags}'"
-# gem install compiles any C extensions and installs into a directory
-# We set that to be a local directory so that we can move it into the
-# buildroot in %%install
-gem install -V \
- --local \
- --install-dir ./%{gem_dir} \
- --bindir ./%{_bindir} \
- --force \
- --rdoc \
- --ri \
- %{gem_name}-%{version}.gem
-
+%gem_install
%install
mkdir -p %{buildroot}%{gem_dir}
@@ -123,6 +110,9 @@ rm %{buildroot}%{gem_instdir}/Rakefile
%{gem_instdir}/benchmarks
%changelog
+* Wed Feb 27 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 1.0.4-8
+- F-19: Rebuild for ruby 2.0.0
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list