From 9e7b051052a74604888a31f2b1d190f6ef4f4e53 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Dec 16 2010 23:00:24 +0000 Subject: Fix up rhel <= 5 conditional --- diff --git a/nco.spec b/nco.spec index 183d00c..5c807eb 100644 --- a/nco.spec +++ b/nco.spec @@ -8,7 +8,7 @@ URL: http://nco.sourceforge.net/ Source0: http://nco.sourceforge.net/src/nco-%{version}.tar.gz Patch0: nco-4.0.3-install_C_headers.patch -%if 0%{?rhel} <= 5 +%if 0%{?rhel} && 0%{?rhel} <= 5 #Patch out variables from in.cdl that earlier versioins of netcdf complain about Patch1: nco-4.0.5-fillvalue.patch %endif @@ -62,7 +62,7 @@ This package contains the NCO static libs. %prep %setup -q %patch0 -p1 -b .install_C_headers -%if 0%{?rhel} <= 5 +%if 0%{?rhel} && 0%{?rhel} <= 5 %patch1 -p1 -b .fillvalue %endif