Hello community, here is the log from the commit of package netcdf for openSUSE:Factory checked in at 2017-09-15 21:08:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/netcdf (Old) and /work/SRC/openSUSE:Factory/.netcdf.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "netcdf" Fri Sep 15 21:08:37 2017 rev:32 rq:525885 version:4.4.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/netcdf/netcdf.changes 2017-02-20 13:13:07.389093540 +0100 +++ /work/SRC/openSUSE:Factory/.netcdf.new/netcdf.changes 2017-09-15 21:08:39.034068940 +0200 @@ -1,0 +2,30 @@ +Tue Sep 12 08:36:09 UTC 2017 - badshah...@gmail.com + +- Update to version 4.4.1.1: + - Fixed an issue where ncgen would potentially crash or write + incorrect netCDF4 binary data under very specific + circumstances [gh#Unidata/netcdf-c#323]. + - Updated documentation related to netCDF variable names and + DAP2 access to reflect the undefined behavior potentially + observed when DAP2 reserved keywords are used as netCDF + variable names. + - Fixed an issue with nc_inq_type() not returning proper value + in some circumstances [gh#Unidata/netcdf-c#317]. + - Corrected an issue related to test failures when + --disable-utilities or -DENABLE_UTILITIES=OFF are specified + when building with autotools or cmake, respectively + [gh#Unidata/netcdf-c#313]. + - Corrected a behavioral issue with the _NCProperties attribute + taking up too much space [gh#Unidata/netcdf-c#300], + [gh#Unidata/netcdf-c#301]. + - Corrected behavior for nc-config so that, if nf-config is + found in system, the proper fortran-related information will + be conveyed [gh#Unidata/netcdf-c#296]. +- Add netcdf-disable-szip-linking.patch: Disable building with + szip support for now, since test nc_test4/tst_interops5.c fails + otherwise; this is likely to be fixed with version 4.5.0 of + netcdf, but requires big enough changes that we don't backport + it here. Necessitates BuildRequires on libtool and running + autoreconf before configure. + +------------------------------------------------------------------- Old: ---- netcdf-4.4.1.tar.gz New: ---- netcdf-4.4.1.1.tar.gz netcdf-disable-szip-linking.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ netcdf.spec ++++++ --- /var/tmp/diff_new_pack.cBzp17/_old 2017-09-15 21:08:40.061924630 +0200 +++ /var/tmp/diff_new_pack.cBzp17/_new 2017-09-15 21:08:40.069923506 +0200 @@ -30,7 +30,7 @@ Summary: Command-line programs for the NetCDF scientific data format License: NetCDF Group: Productivity/Scientific/Other -Version: 4.4.1 +Version: 4.4.1.1 Release: 0 %define sonum 11 Url: http://www.unidata.ucar.edu/software/netcdf/ @@ -38,6 +38,8 @@ Source1: nc-config.1.gz Source99: baselibs.conf Patch0: %{name}-no_date_time.patch +# PATCH-FIX-UPSTREAM netcdf-disable-szip-linking.patch badshah...@gmail.com -- Disable building with szip support for now, since test nc_test4/tst_interops5.c fails otherwise; this is likely to be fixed with version 4.5.0 of netcdf, but requires big enough changes that we don't backport it here. +Patch1: netcdf-disable-szip-linking.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gawk BuildRequires: gcc-c++ @@ -48,6 +50,7 @@ BuildRequires: libhdf BuildRequires: libhdf5 BuildRequires: libhdf5_hl +BuildRequires: libtool BuildRequires: m4 BuildRequires: pkg-config BuildRequires: zlib-devel >= 1.2.5 @@ -307,18 +310,21 @@ %prep %setup -q %patch0 -p0 -b .no_date_time +%patch1 -p1 m4 libsrc/ncx.m4 > libsrc/ncx.c # Fix spurious-executable-perm RPMLINT warning chmod a-x RELEASE_NOTES.md +%build +autoreconf -fv + echo "prepare parallel builds: %_mpi" for build_dir in build %_mpi; do mkdir $build_dir ln -s ../configure $build_dir done -%build pushd build export CC=gcc CXX=g++ FC=gfortran export CFLAGS="-fno-strict-aliasing" ++++++ netcdf-4.4.1.tar.gz -> netcdf-4.4.1.1.tar.gz ++++++ ++++ 70803 lines of diff (skipped) ++++++ netcdf-disable-szip-linking.patch ++++++ Index: netcdf-4.4.1.1/configure.ac =================================================================== --- netcdf-4.4.1.1.orig/configure.ac +++ netcdf-4.4.1.1/configure.ac @@ -952,10 +952,10 @@ if test "x$enable_netcdf_4" = xyes; then fi # The user may have built HDF5 with the SZLIB library. - if test "x$ac_cv_func_H5Z_SZIP" = xyes; then - AC_SEARCH_LIBS([SZ_Compress], [szip sz], [], []) - AC_DEFINE([USE_SZIP], [1], [if true, compile in szip compression in netCDF-4 variables]) - fi + # if test "x$ac_cv_func_H5Z_SZIP" = xyes; then + # AC_SEARCH_LIBS([SZ_Compress], [szip sz], [], []) + # AC_DEFINE([USE_SZIP], [1], [if true, compile in szip compression in netCDF-4 variables]) + # fi if test "x$ac_cv_func_H5free_memory" = xyes; then AC_DEFINE([HDF5_HAS_H5FREE], [1], [if true, H5free_memory() will be used to free hdf5-allocated memory in nc4file.])