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 - 1.1.5-5 +- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 + * Thu Feb 14 2013 Fedora Release Engineering - 1.1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild