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

Mo Morsi mmorsi at fedoraproject.org
Wed Mar 20 15:57:33 UTC 2013


commit 913a17794b53ac0317b1a11e44c08ce85b81f044
Author: Mo Morsi <mmorsi at redhat.com>
Date:   Mon Mar 18 12:35:38 2013 -0400

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

 rubygem-capybara.spec |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/rubygem-capybara.spec b/rubygem-capybara.spec
index 2253524..95fb057 100644
--- a/rubygem-capybara.spec
+++ b/rubygem-capybara.spec
@@ -1,15 +1,14 @@
 %global gem_name capybara
-%global rubyabi 1.9.1
 
 Summary: Simplify the process of integration testing Rack applications
 Name: rubygem-%{gem_name}
 Version: 1.1.2
-Release: 3%{?dist}
+Release: 4%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://github.com/jnicklas/capybara
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(release)
 Requires: ruby(rubygems)
 Requires: ruby
 Requires: rubygem(nokogiri) >= 1.3.3
@@ -19,7 +18,7 @@ Requires: rubygem(rack) >= 1.0.0
 Requires: rubygem(rack-test) >= 0.5.4
 Requires: rubygem(xpath) >= 0.1.4
 Requires: rubygem(xpath) < 0.2
-BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby(release)
 BuildRequires: ruby(rubygems)
 BuildRequires: rubygems-devel
 BuildRequires: ruby
@@ -43,8 +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}
 
 %build
 
@@ -66,6 +64,9 @@ cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/
 
 
 %changelog
+* Mon Mar 18 2013 Mo Morsi <mmorsi at redhat.com> - 1.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.1.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list