[rubygem-asciidoctor/el6] ruby abi 1.8 for el6

Dan Allen mojavelinux at fedoraproject.org
Sun Jun 9 04:51:21 UTC 2013


commit 86924bd67fefc387d41b40315fda2ac285178e01
Author: Dan Allen <dallen at redhat.com>
Date:   Sat Jun 8 22:50:35 2013 -0600

    ruby abi 1.8 for el6

 rubygem-asciidoctor.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/rubygem-asciidoctor.spec b/rubygem-asciidoctor.spec
index 94410ed..51c12dd 100644
--- a/rubygem-asciidoctor.spec
+++ b/rubygem-asciidoctor.spec
@@ -13,9 +13,14 @@ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 # pending, is not packaged in Fedora and since the statement is merely a task
 # note, it's safe to disable it's usage for the purpose of packaging.
 Patch0: asciidoctor-disable-use-of-pending.patch
-%if 0%{?rhel} > 6 || 0%{?fedora} > 18
+%if 0%{?rhel} || 0%{?fedora} > 18
+%if 0%{?rhel} < 6
+Requires: ruby(abi) = 1.8
+BuildRequires: ruby(abi) = 1.8
+%else
 Requires: ruby(release)
 BuildRequires: ruby(release)
+%endif
 %else
 Requires: ruby(abi) = 1.9.1
 BuildRequires: ruby(abi) = 1.9.1


More information about the scm-commits mailing list