[rubygem-openshift-origin-auth-mongo] added ruby(release)
tdawson
tdawson at fedoraproject.org
Tue Mar 12 18:05:59 UTC 2013
commit f381284b92842699eb6ff2cdbaf081122aaed70d
Author: Troy Dawson <tdawson at redhat.com>
Date: Tue Mar 12 13:05:55 2013 -0500
added ruby(release)
rubygem-openshift-origin-auth-mongo.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-openshift-origin-auth-mongo.spec b/rubygem-openshift-origin-auth-mongo.spec
index aa0c7c9..4b797fd 100644
--- a/rubygem-openshift-origin-auth-mongo.spec
+++ b/rubygem-openshift-origin-auth-mongo.spec
@@ -12,16 +12,22 @@ License: ASL 2.0
URL: http://openshift.redhat.com
Source0: http://mirror.openshift.com/pub/openshift-origin/source/%{name}/%{gem_name}-%{version}.gem
Source1: favicon
+%if 0%{?fedora} >= 19
+Requires: %{?scl:%scl_prefix}ruby(release) >= %{rubyabi}
+%else
Requires: %{?scl:%scl_prefix}ruby(abi) >= %{rubyabi}
-Requires: %{?scl:%scl_prefix}ruby
+%endif
Requires: %{?scl:%scl_prefix}rubygems
Requires: %{?scl:%scl_prefix}rubygem(activeresource)
Requires: %{?scl:%scl_prefix}rubygem(json)
Requires: rubygem(openshift-origin-common)
Requires: rubygem(openshift-origin-controller)
Requires: openshift-origin-broker
+%if 0%{?fedora} >= 19
+BuildRequires: %{?scl:%scl_prefix}ruby(release) >= %{rubyabi}
+%else
BuildRequires: %{?scl:%scl_prefix}ruby(abi) >= %{rubyabi}
-BuildRequires: %{?scl:%scl_prefix}rubygems
+%endif
BuildRequires: %{?scl:%scl_prefix}rubygems-devel
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %version
More information about the scm-commits
mailing list