[packages/netcdf] - try to debug

qboosh qboosh at pld-linux.org
Fri Nov 13 16:52:44 CET 2020


commit d5f771e2319cef5dcd69ca95ff6df0df248f0e0e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Nov 13 16:52:41 2020 +0100

    - try to debug

 netcdf.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/netcdf.spec b/netcdf.spec
index c36c7a8..1ca9e92 100644
--- a/netcdf.spec
+++ b/netcdf.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_with	hdf4		# HDF4 support [causes dependency loop, hdf4 requires netcdf; tests fail]
+%bcond_with	hdf4		# HDF4 read support (needs hdf built with "--disable-netcdf")
 %bcond_with	pnetcdf		# parallel I/O for classic CDF files using PnetCDF
 %bcond_without	tests		# don't perform "make check"
 				# (note: tests need endoder-enabled szip)
@@ -22,6 +22,7 @@ BuildRequires:	curl-devel
 BuildRequires:	doxygen
 %{?with_hdf4:BuildRequires:	hdf-devel >= 4}
 BuildRequires:	hdf5-devel >= 1.10.3
+%{?with_hdf4:BuildRequires:	libjpeg-devel}
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 2:2.2
 %{?with_pnetcdf:BuildRequires:	parallel-netcdf-devel >= 1.6.0}
@@ -115,7 +116,8 @@ Statyczna wersja biblioteki netCDF dla C.
 %{__make}
 
 %if %{with tests}
-%{__make} -j1 check
+%{__make} -j1 check || cat ncdump/test-suite.log
+exit 1
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/netcdf.git/commitdiff/d5f771e2319cef5dcd69ca95ff6df0df248f0e0e



More information about the pld-cvs-commit mailing list