diff --git a/netcdf.spec b/netcdf.spec index fa0e2af..45b0a61 100644 --- a/netcdf.spec +++ b/netcdf.spec @@ -179,6 +179,8 @@ NetCDF parallel openmpi static libraries %prep %setup -q -n %{name}-c-%{version} %patch0 -p1 -b .char +# Try to handle builders that can't resolve their own name +sed -i -s 's/mpiexec/mpiexec -host localhost/' */*.sh %build