[rubygem-mizuho/el6] fixing to work on el6

tdawson tdawson at fedoraproject.org
Thu Feb 27 18:07:16 UTC 2014


commit bba759758c00a2f7a00f5bf326cc6be514ccc896
Author: Troy Dawson <tdawson at redhat.com>
Date:   Thu Feb 27 12:08:08 2014 -0600

    fixing to work on el6

 rubygem-mizuho.spec |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/rubygem-mizuho.spec b/rubygem-mizuho.spec
index ef4c36e..725f206 100644
--- a/rubygem-mizuho.spec
+++ b/rubygem-mizuho.spec
@@ -2,6 +2,7 @@
 # Although there are tests, they don't work yet
 # https://github.com/FooBarWidget/mizuho/issues/5
 %global enable_tests 0
+%global rubyabi 1.8
 
 Summary:       Mizuho documentation formatting tool
 Name:          rubygem-%{gem_name}
@@ -12,11 +13,11 @@ License:       MIT
 URL:           https://github.com/FooBarWidget/mizuho
 Source0:       https://rubygems.org/gems/%{gem_name}-%{version}.gem
 Requires:      asciidoc
-Requires:      ruby(release)
+Requires:      ruby(abi) >= %{rubyabi}
 Requires:      ruby(rubygems) 
 Requires:      rubygem(nokogiri) >= 1.4.0
-Requires:      rubygem(sqlite3) 
-BuildRequires: ruby(release)
+Requires:      rubygem(sqlite3)
+BuildRequires: ruby(abi) >= %{rubyabi}
 BuildRequires: rubygems-devel
 %if 0%{?enable_tests}
 BuildRequires: rubygem-rspec


More information about the scm-commits mailing list