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

Bohuslav Kabrda bkabrda at fedoraproject.org
Mon Mar 18 08:36:23 UTC 2013


commit 6ab400cc976b0600b9f9a233bc013c4ab0736c65
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Mon Mar 18 09:25:26 2013 +0100

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

 rubygem-systemu.spec |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/rubygem-systemu.spec b/rubygem-systemu.spec
index 43be422..1d0f1cf 100644
--- a/rubygem-systemu.spec
+++ b/rubygem-systemu.spec
@@ -11,14 +11,12 @@
 %endif
 
 %if %{?el6}0 || %{?fc16}0
-%global rubyabi 1.8
 %else
-%global rubyabi 1.9.1
 %endif
 
 Name:           rubygem-%{gem_name}
 Version:        2.5.2
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Universal capture of stdout and stderr and handling of child process pid
 Group:		Development/Libraries
 
@@ -34,8 +32,8 @@ BuildArch:      noarch
 Requires: ruby(release)
 BuildRequires: ruby(release)
 %else
-Requires: ruby(abi) >= %{rubyabi}
-BuildRequires: ruby(abi) >= %{rubyabi}
+Requires: ruby(release)
+BuildRequires: ruby(release)
 %endif
 Requires:	ruby(rubygems) 
 BuildRequires:	ruby(rubygems)
@@ -52,7 +50,8 @@ Universal capture of stdout and stderr and handling of child process pid.
 
 %install
 rm -rf %{buildroot}
-gem install --local --install-dir %{buildroot}%{gem_dir} --force %{SOURCE0}
+mkdir -p %{buildroot}%{gem_dir}
+%gem_install -n %{SOURCE0} -d %{buildroot}%{gem_dir}
 
 %clean
 rm -rf %{buildroot}
@@ -65,6 +64,9 @@ rm -rf %{buildroot}
 %{gem_spec}
 
 %changelog
+* Mon Mar 18 2013 Bohuslav Kabrda <bkabrda at redhat.com> - 2.5.2-4
+- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
+
 * Sat Mar 16 2013 Julian C. Dunn <jdunn at aquezada.com> - 2.5.2-3
 - Unbreak build on Fedora >= 19
 


More information about the scm-commits mailing list