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

Bohuslav Kabrda bkabrda at fedoraproject.org
Thu Feb 28 11:01:36 UTC 2013


commit a59f3b4b4b6d2cc672c43e745b883722b9358168
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Thu Feb 28 11:34:04 2013 +0100

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

 rubygem-tilt.spec |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/rubygem-tilt.spec b/rubygem-tilt.spec
index bb452df..6b09082 100644
--- a/rubygem-tilt.spec
+++ b/rubygem-tilt.spec
@@ -1,12 +1,11 @@
 %global gem_name tilt
 
-%global rubyabi 1.9.1
 %global bootstrap 0
 
 Summary: Generic interface to multiple Ruby template engines
 Name: rubygem-%{gem_name}
 Version: 1.3.3
-Release: 6%{?dist}
+Release: 7%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://github.com/rtomayko/%{gem_name}
@@ -25,10 +24,10 @@ Patch2: tilt-1.3.3-Redcarpet2-as-default.patch
 # https://github.com/rtomayko/tilt/commit/173ade03fb72ade7f3aed948e104e26de043f6cf
 Patch3: tilt-1.3.3-ensure-coffee-script-test-examples-force-a-closure.patch
 
-Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(release)
 Requires: ruby(rubygems)
 Requires: ruby
-BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby(release)
 BuildRequires: rubygems-devel
 BuildRequires: ruby
 %if 0%{bootstrap} < 1
@@ -68,10 +67,7 @@ Documentation for %{name}
 
 %prep
 %setup -q -c -T
-mkdir -p .%{gem_dir}
-gem install --local --install-dir .%{gem_dir} \
-            --bindir .%{_bindir} \
-            --force %{SOURCE0}
+%gem_install -n %{SOURCE0}
 
 pushd .%{gem_instdir}
 %patch0 -p1
@@ -123,6 +119,9 @@ popd
 
 
 %changelog
+* Thu Feb 28 2013 Bohuslav Kabrda <bkabrda at redhat.com> - 1.3.3-7
+- 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.3.3-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list