[rubygem-mixlib-shellout] Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
Vít Ondruch
vondruch at fedoraproject.org
Fri Mar 8 17:02:43 UTC 2013
commit 90b2a55ebfc6f4b63118f7d93da6498515aabffe
Author: Vít Ondruch <vondruch at redhat.com>
Date: Fri Mar 8 18:02:34 2013 +0100
Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
rubygem-mixlib-shellout.spec | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-mixlib-shellout.spec b/rubygem-mixlib-shellout.spec
index a33543e..517e24e 100644
--- a/rubygem-mixlib-shellout.spec
+++ b/rubygem-mixlib-shellout.spec
@@ -19,7 +19,7 @@
Summary: Run external commands on Unix or Windows
Name: rubygem-%{gem_name}
Version: 1.1.0
-Release: 5%{?dist}
+Release: 6%{?dist}
Group: Development/Languages
License: ASL 2.0
URL: https://github.com/opscode/mixlib-shellout
@@ -34,9 +34,15 @@ Patch0: mixlib-shellout-usrmove.patch
# Patch for removal of awesomeprint, see http://tickets.opscode.com/browse/MIXLIB-7
Patch1: mixlib-shellout-awesomeprint-removal.patch
+%if 0%{?fedora} >= 19
+Requires: ruby(release)
+BuildRequires: ruby(release)
+%else
Requires: ruby(abi) = %{rubyabi}
-Requires: ruby(rubygems)
BuildRequires: ruby(abi) = %{rubyabi}
+%endif
+
+Requires: ruby(rubygems)
BuildRequires: ruby(rubygems)
%{!?el6:BuildRequires: rubygem(rspec)}
%{!?el6:BuildRequires: rubygems-devel}
@@ -57,9 +63,14 @@ Documentation for %{name}
%prep
%setup -q -c -T
+
+%if 0%{?fedora} >= 19
+%gem_install -n %{SOURCE0}
+%else
mkdir -p .%{gem_dir}
gem install --local --install-dir .%{gem_dir} \
--force %{SOURCE0}
+%endif
%build
@@ -89,6 +100,9 @@ popd
%doc %{gem_docdir}
%changelog
+* Fri Mar 08 2013 Josef Stribny <jstribny at redhat.com> - 1.1.0-6
+- 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.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list