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

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


commit 5e875ac1116997501b827ecb72a522fa1b81ea5d
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Thu Mar 7 13:57:35 2013 +0100

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

 rubygem-coffee-script.spec |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/rubygem-coffee-script.spec b/rubygem-coffee-script.spec
index 8154f41..3dc8dfb 100644
--- a/rubygem-coffee-script.spec
+++ b/rubygem-coffee-script.spec
@@ -1,11 +1,10 @@
 # Generated from coffee-script-2.2.0.gem by gem2rpm -*- rpm-spec -*-
 %global gem_name coffee-script
-%global rubyabi 1.9.1
 
 Summary: Ruby CoffeeScript Compiler
 Name: rubygem-%{gem_name}
 Version: 2.2.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://github.com/josh/ruby-coffee-script
@@ -17,11 +16,11 @@ Source1: coffee-script-tests-%{version}.tgz
 # Proposed upstream https://github.com/josh/ruby-coffee-script/pull/16
 # For initial report see https://github.com/josh/ruby-coffee-script/issues/15
 Patch0: coffee-script-fix-newlines-in-tests.patch
-Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(release)
 Requires: ruby(rubygems)
 Requires: rubygem(coffee-script-source)
 Requires: rubygem(execjs)
-BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby(release)
 BuildRequires: rubygems-devel
 BuildRequires: ruby
 BuildRequires: rubygem(coffee-script-source)
@@ -46,9 +45,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
 
@@ -78,6 +75,9 @@ popd
 %doc %{gem_instdir}/README.md
 
 %changelog
+* Thu Mar 07 2013 Vít Ondruch <vondruch at redhat.com> - 2.2.0-3
+- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list