From 21f9527df162160f64ba3fb9f29d84acc5b4b287 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Thu, 25 Jan 2018 23:52:27 +0100 Subject: [PATCH] upgrading package: netcdf 4.4.1 -> 4.6.0 --- netcdf/netcdf.spec | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/netcdf/netcdf.spec b/netcdf/netcdf.spec index 21cb7b8e12..116ae9894c 100644 --- a/netcdf/netcdf.spec +++ b/netcdf/netcdf.spec @@ -31,11 +31,8 @@ Distribution: OpenPKG Community Class: EVAL Group: Libraries License: Open Source -Version: 4.4.1 -Release: 20161222 - -# package options -%option with_cxx yes +Version: 4.6.0 +Release: 20180125 # list of sources Source0: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-%{version}.tar.gz @@ -43,9 +40,6 @@ Source0: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-%{version}.tar.gz # build information BuildPreReq: OpenPKG, openpkg >= 20160101, make, gcc PreReq: OpenPKG, openpkg >= 20160101 -%if "%{with_cxx}" == "yes" -BuildPreReq: gcc::with_cxx = yes -%endif BuildPreReq: hdf PreReq: hdf @@ -78,14 +72,8 @@ PreReq: hdf --prefix=%{l_prefix} \ --mandir=%{l_prefix}/man \ --infodir=%{l_prefix}/info \ -%if "%{with_cxx}" == "yes" - --enable-cxx \ -%else - --disable-cxx \ -%endif - --disable-f77 \ - --disable-f90 \ --disable-dynamic-loading \ + --disable-dap \ --disable-shared \ --disable-examples %{l_make} %{l_mflags}