From 68b32854580a7a3aca4aa2050e9164f2b5d2a93f Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Mon, 9 Jun 2014 11:05:12 -0600 Subject: [PATCH] Drop USE_PARALLEL_POSIX for hdf5 1.8.13 --- netcdf.spec | 4 ++++ 1 file changed, 4 insertions(+) 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