Skip to content

Commit

Permalink
netcdf: Autospec creation for update from version 4.9.1 to version 4.9.2
Browse files Browse the repository at this point in the history
Dennis Heimbigner (9):
      Modify H5FDhttp.c to work with HDF5 1.14.0
      update release notes
      Enable ACCEPT_ENCODING on DAP requests
      Update Release notes
      Fix a distcheck failure with nczarr_test/run_interop.sh
      Extend the dispatch table for H5FD back to version 1.13.2
      update RELEASENOTES
      Missed one occurrence of 1,14,0
      Fix byterange handling of some URLS

Greg Sjaardema (1):
      Missing `goto`

Magnus Ulimoen (1):
      Fix setting dest for non-m4 path

Mathieu Westphal (1):
      Avoid optionnaly depends on zip for NCZarr

Sergey Kosukhin (1):
      Fix macro usage

Ward Fisher (35):
      Update release notes, prepare to merge back upstream into development branch.
      Escape command symbol in doxygen template.
      Incorporate fix in support of Unidata/netcdf-c#2437 (comment)
      Update nc-config in support of Unidata/netcdf-c#2274
      Added benchmarking option to cmake-based builds, turned on unit-testing by default
      Wiring performance benchmarks into cmake, cleaned up serial compression performance test dependency on MPI.
      Correct typo in CMakeLists.txt
      Add generated parallel tests for nc_perf, cmake-based build system.
      Fix missing endif statement
      Add execute bit to test scripts
      Turn benchmarks off by default. They require netcdf4, additional logic is required in order to have them on by default.
      Remove a stray character at the head file.
      Fixing issues uncovered by compiling with '-fsanitize=undefined' and running nc_test/nc_test, in support of Unidata/netcdf-c#1983, amongst others.  The cast as was being used was undefined behavior, and had to be worked around in a style approximating C++'s 'reinterpret_cast'
      Correct undefined variable error.
      Correct another uninitialized issue.
      Fixed an issue where memcpy was potentially passed a null pointer.
      More issues returned by sanitizer, related to attempts to assign MAX_UNSIGNED_CHAR (255) to a variable of type char.
      Explicit cast to unsigned char.
      Update the version of the cache action used by github action from v2 to v3.
      Turn nczarr zip support off by default in cmake, add a status line indicating whether nczarr-zip-support is available, in libnetcdf.settings.
      Fix issue with dangling test file not getting cleaned up.
      Fix a logic error that was resulting in an easy-to-miss error when running configure.
      Correct a potential null pointer dereference.
      Invert solution as discussed at Unidata/netcdf-c#2618
      Bumped SO version.
      Update release notes.
      Bump version strings to reflect next development version.
      Correct jsonconvention map with netcdf version.
      Add hdf5 1.14.0 to GitHub CI.
      Expand CI testing with HDF5 1.14.0
      Set version strings.
      Adjust reference nczarr file for v4.9.2 release.
      Update .gitignore to allow generated files into version control for 4.9.2 release.
      Added generated files for release.
      Added generated test files for a stand-alone release.
  • Loading branch information
fenrus75 committed Mar 16, 2023
1 parent df05ff7 commit 5d35aae
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := netcdf
URL = https://github.com/Unidata/netcdf-c/archive/v4.9.1/netcdf-c-4.9.1.tar.gz
URL = https://github.com/Unidata/netcdf-c/archive/v4.9.2/netcdf-c-4.9.2.tar.gz
ARCHIVES =

include ../common/Makefile.common
2 changes: 1 addition & 1 deletion buildreq_cache
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
4.9.1
4.9.2
bzip2-dev
graphviz
libxml2-dev
Expand Down
12 changes: 7 additions & 5 deletions configure_misses
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Configure miss: int64
Configure miss: int64
Configure miss: library containing H5Pset_fapl_ros3
Configure miss: library containing H5Pset_fapl_ros3
Configure miss: library containing zip_open
Configure miss: library containing zip_open
Configure miss: longlong
Configure miss: longlong
Configure miss: mpicc option to enable C11 features
Expand Down Expand Up @@ -70,8 +72,10 @@ Configure miss: whether nczarr zip support is enabled
Configure miss: whether nczarr zip support is enabled
Configure miss: whether netCDF-4 logging is enabled
Configure miss: whether netCDF-4 logging is enabled
Configure miss: whether netcdf zarr S3 support should be enabled
Configure miss: whether netcdf zarr S3 support should be enabled
Configure miss: whether netcdf NCZarr S3 support should be enabled
Configure miss: whether netcdf NCZarr S3 support should be enabled
Configure miss: whether netcdf S3 support should be enabled
Configure miss: whether netcdf S3 support should be enabled
Configure miss: whether netcdf zarr S3 testing should be enabled
Configure miss: whether netcdf zarr S3 testing should be enabled
Configure miss: whether parallel I/O for classic files is to be enabled
Expand All @@ -94,6 +98,4 @@ Configure miss: whether use of external servers should be enabled
Configure miss: whether we should attempt to install netcdf-fortran (EXPERIMENTAL)
Configure miss: whether we should attempt to install netcdf-fortran (EXPERIMENTAL)
Configure miss: x86_64-generic-linux-gnu-file
Configure miss: x86_64-generic-linux-gnu-file
Configure miss: zip_open in -lzip
Configure miss: zip_open in -lzip
Configure miss: x86_64-generic-linux-gnu-file
22 changes: 11 additions & 11 deletions netcdf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Generated by: autospec.py
#
Name : netcdf
Version : 4.9.1
Release : 16
URL : https://github.com/Unidata/netcdf-c/archive/v4.9.1/netcdf-c-4.9.1.tar.gz
Source0 : https://github.com/Unidata/netcdf-c/archive/v4.9.1/netcdf-c-4.9.1.tar.gz
Version : 4.9.2
Release : 17
URL : https://github.com/Unidata/netcdf-c/archive/v4.9.2/netcdf-c-4.9.2.tar.gz
Source0 : https://github.com/Unidata/netcdf-c/archive/v4.9.2/netcdf-c-4.9.2.tar.gz
Summary : NetCDF Client Library for C
Group : Development/Tools
License : BSD-3-Clause NetCDF Zlib bzip2-1.0.6
Expand Down Expand Up @@ -94,18 +94,18 @@ openmpi components for the netcdf package.


%prep
%setup -q -n netcdf-c-4.9.1
cd %{_builddir}/netcdf-c-4.9.1
%setup -q -n netcdf-c-4.9.2
cd %{_builddir}/netcdf-c-4.9.2
pushd ..
cp -a netcdf-c-4.9.1 build-openmpi
cp -a netcdf-c-4.9.2 build-openmpi
popd

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C.UTF-8
export SOURCE_DATE_EPOCH=1675791517
export SOURCE_DATE_EPOCH=1678981530
export GCC_IGNORE_WERROR=1
export CFLAGS="$CFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz "
export FCFLAGS="$FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz "
Expand Down Expand Up @@ -155,7 +155,7 @@ make %{?_smp_mflags} check || :
module unload openmpi

%install
export SOURCE_DATE_EPOCH=1675791517
export SOURCE_DATE_EPOCH=1678981530
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/netcdf
cp %{_builddir}/netcdf-c-%{version}/COPYRIGHT %{buildroot}/usr/share/package-licenses/netcdf/1b45343da188e7ec176d9443c8c3312798532bfc || :
Expand Down Expand Up @@ -214,7 +214,7 @@ popd
%files lib
%defattr(-,root,root,-)
/usr/lib64/libnetcdf.so.19
/usr/lib64/libnetcdf.so.19.2.1
/usr/lib64/libnetcdf.so.19.2.2

%files license
%defattr(0644,root,root,0755)
Expand All @@ -240,7 +240,7 @@ popd
/usr/lib64/openmpi/bin/ncgen3
/usr/lib64/openmpi/bin/ocprint
/usr/lib64/openmpi/lib/libnetcdf.so.19
/usr/lib64/openmpi/lib/libnetcdf.so.19.2.1
/usr/lib64/openmpi/lib/libnetcdf.so.19.2.2
/usr/lib64/openmpi/share/man/man1/nccopy.1
/usr/lib64/openmpi/share/man/man1/ncdump.1
/usr/lib64/openmpi/share/man/man1/ncgen.1
Expand Down
4 changes: 2 additions & 2 deletions options.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = netcdf
url = https://github.com/Unidata/netcdf-c/archive/v4.9.1/netcdf-c-4.9.1.tar.gz
url = https://github.com/Unidata/netcdf-c/archive/v4.9.2/netcdf-c-4.9.2.tar.gz
archives =
giturl = https://github.com/Unidata/netcdf-c.git
domain =
Expand All @@ -14,7 +14,7 @@ allow_test_failures = true
# unset %build ld_as_needed variable
asneeded = false
# this package is trusted enough to automatically update (used by other tools)
autoupdate = false
autoupdate = true
# extend flags with '-std=gnu++98
broken_c++ = false
# disable parallelization during build
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
17
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8e199954712ea317b0f5cedbdda50a4377b62834/netcdf-c-4.9.1.tar.gz
0eb6fdcbd725bd53bb9e98405a2cb15f3c511ce2/netcdf-c-4.9.2.tar.gz
2 changes: 1 addition & 1 deletion versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.9.1
4.9.2

0 comments on commit 5d35aae

Please sign in to comment.