From 3a1fcf5477943f983a572d1d09a87871aab4597b Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Tue, 16 Apr 2013 11:04:38 -0600 Subject: [PATCH] Fix rhel ruby conditional --- puppet.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/puppet.spec b/puppet.spec index 939a44d..6d429d5 100644 --- a/puppet.spec +++ b/puppet.spec @@ -44,7 +44,7 @@ BuildRequires: facter >= 1.6.6 BuildRequires: ruby-devel >= 1.8.7 BuildArch: noarch -%if 0%{?rhel} <= 6 +%if 0%{?rhel} && 0%{?rhel} <= 6 Requires: ruby(abi) = 1.8 %else %if 0%{?fedora} <= 18 @@ -356,6 +356,7 @@ rm -rf %{buildroot} %changelog * Tue Apr 16 2013 Orion Poplawski - 3.1.1-3 - Add upstream patch for ruby 2.0 support +- Fix rhel ruby conditional * Fri Mar 15 2013 Vít Ondruch - 3.1.1-2 - Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0