From 68b32854580a7a3aca4aa2050e9164f2b5d2a93f Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Jun 09 2014 17:05:12 +0000 Subject: Drop USE_PARALLEL_POSIX for hdf5 1.8.13 --- diff --git a/netcdf.spec b/netcdf.spec index 1409cec..b934ce2 100644 --- a/netcdf.spec +++ b/netcdf.spec @@ -181,6 +181,10 @@ NetCDF parallel openmpi static libraries %prep %setup -q -n %{name}-c-%{version} %patch0 -p1 -b .pkgconfig +%if 0%{?fedora} >= 21 +# No mpi-posix in hdf5 1.8.13 +sed -i -e 's/^.*USE_PARALLEL_POSIX.*$/:/' configure +%endif %build