Hello community, here is the log from the commit of package netcdf for openSUSE:Factory checked in at 2019-09-09 23:54:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/netcdf (Old) and /work/SRC/openSUSE:Factory/.netcdf.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "netcdf" Mon Sep 9 23:54:41 2019 rev:47 rq:729408 version:4.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/netcdf/netcdf.changes 2019-09-02 13:24:40.513320047 +0200 +++ /work/SRC/openSUSE:Factory/.netcdf.new.7948/netcdf.changes 2019-09-09 23:54:42.805250621 +0200 @@ -1,0 +2,16 @@ +Sun Sep 8 16:34:27 UTC 2019 - Stefan Brüns <stefan.bru...@rwth-aachen.de> + +- Use FAT LTO objects in order to provide proper static library. +- Readd optflags to CFLAGS again. The motivating issue has been solved + (https://github.com/Unidata/netcdf-c/issues/244), and without + optflags the lto flags were only applied to parts of the build, + causing broken static libraries. + +------------------------------------------------------------------- +Fri Sep 6 16:37:27 UTC 2019 - Stefan Brüns <stefan.bru...@rwth-aachen.de> + +- Bump soversion, use it in the files section (so it fails the next + time the version update is omitted), and remove the rpmlintrc + also hiding the problem. + +------------------------------------------------------------------- Old: ---- netcdf-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ netcdf.spec ++++++ --- /var/tmp/diff_new_pack.hNNyIa/_old 2019-09-09 23:54:45.113250142 +0200 +++ /var/tmp/diff_new_pack.hNNyIa/_new 2019-09-09 23:54:45.137250137 +0200 @@ -23,6 +23,7 @@ %define ver 4.7.0 %define _ver 4_7_0 %define pname netcdf +%define sonum 15 %if 0%{?is_opensuse} || 0%{?is_backports} %undefine DisOMPI3 @@ -203,11 +204,9 @@ Group: Productivity/Scientific/Other Version: %ver Release: 0 -%define sonum 13 URL: https://www.unidata.ucar.edu/software/netcdf/ Source: ftp://ftp.unidata.ucar.edu/pub/%{pname}/%{pname}-c-%{version}.tar.gz#/%{pname}-%{version}.tar.gz Source1: nc-config.1.gz -Source100: netcdf-rpmlintrc BuildRequires: gawk BuildRequires: libtool BuildRequires: m4 @@ -401,6 +400,7 @@ chmod a-x RELEASE_NOTES.md %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects %{?with_hpc:%{hpc_setup}} %{?with_hpc:module load %{hdf5_module_file}} @@ -412,7 +412,7 @@ export CXX=%{!?with_hpc:/usr/%_lib/mpi/gcc/%{mpi_flavor}%{?mpi_ext}/bin/}mpic++ %endif autoreconf -fv -export CFLAGS="-fno-strict-aliasing %{?with_hpc:-L$HDF5_LIB -I$HDF5_INC}" +export CFLAGS="%{optflags} %{?with_hpc:-L$HDF5_LIB -I$HDF5_INC}" export CXXFLAGS="%{optflags} %{?with_hpc:-L$HDF5_LIB -I$HDF5_INC}" export FCFLAGS="%{optflags} %{?with_hpc:-L$HDF5_LIB -I$HDF5_INC}" %{?with_hpc:export LDFLAGS="-L$HDF5_LIB"} @@ -584,7 +584,7 @@ %{_datadir}/modules/%{pname}-%{mpi_flavor}%{?mpi_ext} %endif %endif -%{p_libdir}/libnetcdf.so.* +%{p_libdir}/libnetcdf.so.%{sonum}* %if %{without mpi} %files devel-data