|
|
@ -4,7 +4,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: hdf
|
|
|
|
Name: hdf
|
|
|
|
Version: 4.2.14
|
|
|
|
Version: 4.2.14
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Summary: A general purpose library and file format for storing scientific data
|
|
|
|
Summary: A general purpose library and file format for storing scientific data
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
URL: https://portal.hdfgroup.org/
|
|
|
|
URL: https://portal.hdfgroup.org/
|
|
|
@ -135,8 +135,10 @@ touch -c -r ./hdf/src/hdfi.h.ppc ./hdf/src/hdfi.h
|
|
|
|
|
|
|
|
|
|
|
|
# For destdir/examplesdir patches
|
|
|
|
# For destdir/examplesdir patches
|
|
|
|
autoreconf -vif
|
|
|
|
autoreconf -vif
|
|
|
|
|
|
|
|
|
|
|
|
# avoid upstream compiler flags settings
|
|
|
|
# avoid upstream compiler flags settings
|
|
|
|
rm config/*linux-gnu
|
|
|
|
rm config/*linux-gnu
|
|
|
|
|
|
|
|
|
|
|
|
# TODO: upstream fix
|
|
|
|
# TODO: upstream fix
|
|
|
|
# libmfhdf.so is link to libdf.so
|
|
|
|
# libmfhdf.so is link to libdf.so
|
|
|
|
export CFLAGS="%{optflags} -I%{_includedir}/tirpc"
|
|
|
|
export CFLAGS="%{optflags} -I%{_includedir}/tirpc"
|
|
|
@ -154,6 +156,11 @@ cd -
|
|
|
|
mkdir build-static
|
|
|
|
mkdir build-static
|
|
|
|
cd build-static
|
|
|
|
cd build-static
|
|
|
|
# Java requires shared libraries, fortran requires static
|
|
|
|
# Java requires shared libraries, fortran requires static
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Temporary workaround for compiling on GCC-10
|
|
|
|
|
|
|
|
%if 0%{?fedora} && 0%{?fedora} > 31
|
|
|
|
|
|
|
|
export FCFLAGS="%{build_fflags} -fallow-argument-mismatch"
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%configure --disable-production --disable-java --disable-netcdf \
|
|
|
|
%configure --disable-production --disable-java --disable-netcdf \
|
|
|
|
--enable-shared=no --enable-static=yes --enable-fortran %{!?el6:--with-szlib} \
|
|
|
|
--enable-shared=no --enable-static=yes --enable-fortran %{!?el6:--with-szlib} \
|
|
|
|
--includedir=%{_includedir}/%{name}
|
|
|
|
--includedir=%{_includedir}/%{name}
|
|
|
@ -252,6 +259,9 @@ make -j1 -C build-static check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Feb 02 2020 Antonio Trande <sagitter@fedoraproject.org> 4.2.14-8
|
|
|
|
|
|
|
|
- Temporary workaround for compiling with GCC-10
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.14-7
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.14-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|