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

Vít Ondruch vondruch at fedoraproject.org
Tue Apr 2 10:24:47 UTC 2013


commit 035e56b815c55c5b45546cf54329c4b1694335fc
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Fri Mar 29 15:53:45 2013 +0100

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

 wallaby.spec |   23 +++++++++++++++++++++--
 1 files changed, 21 insertions(+), 2 deletions(-)
---
diff --git a/wallaby.spec b/wallaby.spec
index df0ba01..245b56c 100644
--- a/wallaby.spec
+++ b/wallaby.spec
@@ -23,7 +23,7 @@
 %global has_sinatra 0
 %endif
 
-%if (0%{?fedora} >= 17)
+%if (0%{?fedora} >= 17) || 0%{?rhel} >= 7
 %global ruby_abi 1.9.1
 %global ruby_appropriate_install_dir %{ruby_vendorlibdir}
 %global requires_ruby_devel 1
@@ -44,7 +44,7 @@
 Summary: Condor pool configuration service with QMF interface
 Name: wallaby
 Version: 0.16.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 Group: Applications/System
 License: ASL 2.0
 URL: http://git.fedorahosted.org/git/grid/wallaby.git
@@ -54,7 +54,11 @@ Patch0: 0001-updated-spec-for-0.16.0.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 %endif
 BuildRequires: python2-devel
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+Requires: ruby(release)
+%else
 Requires: ruby(abi) = %{?ruby_abi}
+%endif
 BuildRequires: ruby
 Requires: ruby-qmf >= 0.7.929717
 Requires: ruby-spqr >= 0.3.6
@@ -86,7 +90,11 @@ and manages multiple versions of configurations.
 %package utils
 Summary: Utilities to interact with the Wallaby service
 Group: Applications/System
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+Requires: ruby(release)
+%else
 Requires: ruby(abi) = %{?ruby_abi}
+%endif
 Requires: ruby-qmf >= 0.7.929717
 Requires: ruby-wallaby = %{version}
 
@@ -97,7 +105,11 @@ and node configurations and interacting with the Wallaby service.
 %package -n ruby-wallaby
 Summary: Wallaby implementation libraries, API, and client library
 Group: Applications/System
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+Requires: ruby(release)
+%else
 Requires: ruby(abi) = %{?ruby_abi}
+%endif
 Requires: ruby-irb
 Requires: ruby-qmf >= 0.7.929717
 Requires: ruby-spqr >= 0.3.5
@@ -122,7 +134,11 @@ that interact with the Wallaby configuration service over QMF.
 %package -n wallaby-http-server
 Summary: Wallaby web service interface
 Group: Applications/System
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+Requires: ruby(release)
+%else
 Requires: ruby(abi) = %{?ruby_abi}
+%endif
 Requires: ruby-irb
 Requires: ruby-qmf >= 0.7.929717
 Requires: ruby-wallaby = %{version}-%{release}
@@ -291,6 +307,9 @@ fi
 %endif
 
 %changelog
+* Fri Mar 29 2013 Vít Ondruch <vondruch at redhat.com> - 0.16.0-3
+- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
+
 * Fri Feb 15 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.16.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list