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

Vít Ondruch vondruch at fedoraproject.org
Thu Mar 7 13:39:19 UTC 2013


commit b14eca874dd4cc31694dac414258e37b154e3959
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Thu Mar 7 14:31:34 2013 +0100

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

 rubygem-rack-cache.spec |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/rubygem-rack-cache.spec b/rubygem-rack-cache.spec
index 169151c..937dea1 100644
--- a/rubygem-rack-cache.spec
+++ b/rubygem-rack-cache.spec
@@ -1,23 +1,22 @@
 # Generated from rack-cache-1.0.2.gem by gem2rpm -*- rpm-spec -*-
 %global gem_name rack-cache
 
-%global rubyabi 1.9.1
 
 Summary: HTTP Caching for Rack
 Name: rubygem-%{gem_name}
 Version: 1.2
-Release: 3%{?dist}
+Release: 4%{?dist}
 Group: Development/Languages
 License: MIT
 # The URL doesn't work.
 # https://github.com/rtomayko/rack-cache/issues/65
 URL: http://tomayko.com/src/rack-cache/
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(release)
 Requires: ruby(rubygems)
 Requires: ruby
 Requires: rubygem(rack) >= 0.4
-BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby(release)
 BuildRequires: rubygems-devel
 BuildRequires: ruby
 BuildRequires: rubygem(rack) >= 0.4
@@ -42,9 +41,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
 
@@ -79,6 +76,9 @@ popd
 
 
 %changelog
+* Thu Mar 07 2013 Vít Ondruch <vondruch at redhat.com> - 1.2-4
+- 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.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list