[rubygem-mongo/epel7] fix if statement

tdawson tdawson at fedoraproject.org
Fri Jul 25 22:29:50 UTC 2014


commit 69a3926494789974513e99a7828fee00ff610d9d
Author: Troy Dawson <tdawson at redhat.com>
Date:   Fri Jul 25 17:29:40 2014 -0500

    fix if statement

 rubygem-mongo.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/rubygem-mongo.spec b/rubygem-mongo.spec
index bc0be99..4608da7 100644
--- a/rubygem-mongo.spec
+++ b/rubygem-mongo.spec
@@ -11,7 +11,7 @@ URL:           http://www.mongodb.org
 Source0:       http://rubygems.org/gems/%{gem_name}-%{version}.gem
 Requires:      rubygems
 Requires:      rubygem(bson) = %{version}
-%if 0%{?fedora} >= 19
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
 Requires:      ruby(release)
 BuildRequires: ruby(release)
 %else


More information about the scm-commits mailing list