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

Vít Ondruch vondruch at fedoraproject.org
Fri Mar 8 16:52:17 UTC 2013


commit fd59151aef277cae588df4db743142edf0e72743
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Fri Mar 8 17:51:56 2013 +0100

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

 rubygem-mixlib-authentication.spec |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/rubygem-mixlib-authentication.spec b/rubygem-mixlib-authentication.spec
index 479798b..d5fb53a 100644
--- a/rubygem-mixlib-authentication.spec
+++ b/rubygem-mixlib-authentication.spec
@@ -20,16 +20,22 @@
 Summary: Simple per-request authentication
 Name: rubygem-%{gem_name}
 Version: 1.3.0
-Release: 3%{?dist}
+Release: 4%{?dist}
 Group: Development/Languages
 License: ASL 2.0
 URL: http://github.com/opscode/mixlib-authentication
 Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
 Requires: ruby(rubygems)
-Requires: ruby(abi) = %{rubyabi}
 Requires: rubygem(mixlib-log)
-BuildRequires: ruby
+%if 0%{?fedora} >= 19
+Requires: ruby(release)
+BuildRequires: ruby(release)
+%else
+Requires: ruby(abi) = %{rubyabi}
 BuildRequires: ruby(abi) = %{rubyabi}
+%endif
+BuildRequires: ruby
+BuildRequires: ruby(rubygems)
 # Needed to run checks:
 %{!?el6:BuildRequires: rubygem(rspec)}
 %{!?el6:BuildRequires: rubygems-devel}
@@ -53,12 +59,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
 
 %build
 
@@ -90,6 +100,9 @@ popd
 %doc %{gem_docdir}
 
 %changelog
+* Fri Mar 08 2013 Josef Stribny <jstribny at redhat.com> - 1.3.0-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.3.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list