From cb381c97108d787c7d4819891bce03ab75e5ddd3 Mon Sep 17 00:00:00 2001 From: Bohuslav Kabrda Date: Mar 21 2013 12:42:24 +0000 Subject: Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 --- diff --git a/rubygem-cloudservers.spec b/rubygem-cloudservers.spec index b31bb7d..e04201e 100644 --- a/rubygem-cloudservers.spec +++ b/rubygem-cloudservers.spec @@ -1,19 +1,18 @@ %global gem_name cloudservers -%global rubyabi 1.9.1 Summary: A Ruby API to version 1.0 of the Rackspace Cloud Servers product Name: rubygem-%{gem_name} Version: 0.4.2 -Release: 3%{?dist} +Release: 4%{?dist} Group: Development/Languages License: MIT URL: https://github.com/rackspace/ruby-cloudservers Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem Requires: ruby(rubygems) -Requires: ruby(abi) = %{rubyabi} +Requires: ruby(release) Requires: rubygem(mime-types) Requires: rubygem(json) -BuildRequires: ruby(abi) = %{rubyabi} +BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: rubygem(mime-types) BuildRequires: rubygem(mocha) @@ -40,8 +39,7 @@ A Ruby API to version 1.0 of the Rackspace Cloud Servers product. %install rm -rf %{buildroot} mkdir -p %{buildroot}%{gem_dir} -gem install -V --local --install-dir %{buildroot}%{gem_dir} \ - --force --rdoc %{SOURCE0} +%gem_install -n %{SOURCE0} -d %{buildroot}%{gem_dir} find %{buildroot}/%{gem_instdir} -type f -perm /g+wx -exec chmod -v g-w {} \; rm -f %{buildroot}/%{gem_instdir}/.gitignore rm -f %{buildroot}/%{gem_instdir}/Manifest @@ -77,6 +75,9 @@ rm -rf %{buildroot} %{gem_docdir} %changelog +* Thu Mar 21 2013 Bohuslav Kabrda - 0.4.2-4 +- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 + * Thu Feb 14 2013 Fedora Release Engineering - 0.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild