[rubygem-mixlib-config] Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
Vít Ondruch
vondruch at fedoraproject.org
Fri Mar 8 17:01:00 UTC 2013
commit f57392c33952ddf8c3fc211e522bc9e9b74c0f12
Author: Vít Ondruch <vondruch at redhat.com>
Date: Fri Mar 8 18:00:55 2013 +0100
Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
rubygem-mixlib-config.spec | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/rubygem-mixlib-config.spec b/rubygem-mixlib-config.spec
index d56432d..3fc4f0b 100644
--- a/rubygem-mixlib-config.spec
+++ b/rubygem-mixlib-config.spec
@@ -20,7 +20,7 @@
Summary: Simple ruby config mix-in
Name: rubygem-%{gem_name}
Version: 1.1.2
-Release: 4%{?dist}
+Release: 5%{?dist}
Group: Development/Languages
License: ASL 2.0
URL: http://github.com/opscode/mixlib-config
@@ -29,8 +29,15 @@ Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
# https://github.com/opscode/mixlib-config/commit/fa42def234f3a2d69229340733131b93a887be8d
Patch0: mixlib-config-silence-tests.patch
Requires: ruby(rubygems)
+
+%if 0%{?fedora} >= 19
+Requires: ruby(release)
+BuildRequires: ruby(release)
+%else
Requires: ruby(abi) = %{rubyabi}
BuildRequires: ruby(abi) = %{rubyabi}
+%endif
+
# Needed to run checks:
%{!?el6:BuildRequires: rubygem(rspec)}
%{!?el6:BuildRequires: rubygems-devel}
@@ -53,12 +60,16 @@ This package contains documentation for %{name}.
%prep
%setup -q -c -T
+%if 0%{?fedora} >= 19
+%gem_install -n %{SOURCE0}
+%else
mkdir -p .%{gem_dir}
gem install -V \
--local \
--install-dir $(pwd)/%{gem_dir} \
--force --rdoc \
%{SOURCE0}
+%endif
pushd .%{gem_instdir}
%patch0 -p1
@@ -99,6 +110,9 @@ popd
%{gem_instdir}/spec
%changelog
+* Fri Mar 08 2013 Josef Stribny <jstribny at redhat.com> - 1.1.2-5
+- 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-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list