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

Bohuslav Kabrda bkabrda at fedoraproject.org
Thu Mar 7 13:23:34 UTC 2013


commit b0cc408c1ef840d014e62a667c0dac3c52474cea
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Thu Mar 7 13:43:50 2013 +0100

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

 rubygem-openstack-compute.spec |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/rubygem-openstack-compute.spec b/rubygem-openstack-compute.spec
index 4a20734..f8d9f5a 100644
--- a/rubygem-openstack-compute.spec
+++ b/rubygem-openstack-compute.spec
@@ -1,11 +1,10 @@
 # Generated from openstack-compute-1.1.5.gem by gem2rpm -*- rpm-spec -*-
 %global gem_name openstack-compute
-%global rubyabi 1.9.1
 
 Summary: OpenStack Compute Ruby API
 Name: rubygem-%{gem_name}
 Version: 1.1.5
-Release: 4%{?dist}
+Release: 5%{?dist}
 Group: Development/Languages
 License: MIT
 URL: https://launchpad.net/ruby-openstack-compute
@@ -18,7 +17,7 @@ Source1: %{gem_name}-%{version}-test.tgz
 # Fixes the library to work properly with Ruby 1.9
 # https://github.com/rackspace/ruby-openstack-compute/pull/11
 Patch0: openstack-compute-fix-tests-for-ruby-1.9.patch
-Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(release)
 Requires: ruby(rubygems) 
 Requires: rubygem(json) 
 BuildRequires: rubygems-devel
@@ -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}
 
 pushd .%{gem_instdir}
 %patch0 -p1
@@ -82,6 +79,9 @@ popd
 %doc %{gem_instdir}/README.rdoc
 
 %changelog
+* Thu Mar 07 2013 Bohuslav Kabrda <bkabrda at redhat.com> - 1.1.5-5
+- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.5-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list