--- /dev/null
+--- netcdf-c-4.7.4/libhdf5/hdf5open.c.orig 2020-03-27 17:05:29.000000000 +0100
++++ netcdf-c-4.7.4/libhdf5/hdf5open.c 2020-11-15 21:17:09.616118662 +0100
+@@ -1012,6 +1012,7 @@
+ }
+ break;
+ }
++ cd_nelems = CD_NELEMS_ZLIB; /* restore */
+ }
+ return NC_NOERR;
+ }
Summary(pl.UTF-8): NetCDF: obsługa wspólnego sieciowego formatu danych
Name: netcdf
Version: 4.7.4
-Release: 1
+Release: 2
License: BSD
Group: Libraries
Source0: ftp://ftp.unidata.ucar.edu/pub/netcdf/%{name}-c-%{version}.tar.gz
# Source0-md5: 3e0a97e6abb9a989f8a8a2e395473597
+Patch0: %{name}-hdf5-filter-fix.patch
URL: https://www.unidata.ucar.edu/software/netcdf/
BuildRequires: autoconf >= 2.59
BuildRequires: automake
%prep
%setup -q -n %{name}-c-%{version}
+%patch0 -p1
%if %{without tests_net}
# assumes at least 2 processors are available via MPI
%{__make}
%if %{with tests}
-%{__make} -j1 check || cat ncdump/test-suite.log
-exit 1
+%{__make} -j1 check
%endif
%install