From 92b3aefd801998015b5324239e4ee58a562539ca Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Wed, 31 Oct 2012 22:04:33 -0600 Subject: [PATCH] BR netcdf-fortran-devel on Fedora 17+ --- ncl.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ncl.spec b/ncl.spec index 74cd220..f96f038 100644 --- a/ncl.spec +++ b/ncl.spec @@ -44,7 +44,12 @@ Patch13: ncl-5.1.0-includes.patch Patch16: ncl-5.2.1-secondary.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: /bin/csh, gcc-gfortran, netcdf-devel +BuildRequires: /bin/csh, gcc-gfortran +%if 0%{?fedora} >= 17 +BuildRequires: netcdf-fortran-devel +%else +BuildRequires: netcdf-devel +%endif BuildRequires: cairo-devel BuildRequires: gdal-devel BuildRequires: hdf-static, hdf-devel >= 4.2r2, libjpeg-devel