From 31c4b7cc39ef2224cc62c0d8369fd75fe62b8e2a Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Mon, 9 Apr 2018 20:54:47 -0600 Subject: [PATCH] Run libtoolize to not strip link flags (bug #1548732) --- netcdf.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/netcdf.spec b/netcdf.spec index af0910c..dcf23ae 100644 --- a/netcdf.spec +++ b/netcdf.spec @@ -1,6 +1,6 @@ Name: netcdf Version: 4.4.1.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Libraries for the Unidata network Common Data Form Group: Applications/Engineering @@ -11,6 +11,7 @@ Source0: https://github.com/Unidata/netcdf-c/archive/v%{version}.tar.gz#/ # https://github.com/Unidata/netcdf-c/pull/333 Patch0: netcdf-err.patch +BuildRequires: libtool BuildRequires: chrpath BuildRequires: doxygen BuildRequires: hdf-static @@ -201,6 +202,9 @@ m4 libsrc/ncx.m4 > libsrc/ncx.c %{nil} export LDFLAGS="%{__global_ldflags} -L%{_libdir}/hdf" +# Upstream libtool is stripping -spec from link command +libtoolize --force + # Serial build mkdir build pushd build @@ -337,6 +341,9 @@ done %changelog +* Mon Apr 09 2018 Orion Poplawski - 4.4.1.1-9 +- Run libtoolize to not strip link flags (bug #1548732) + * Thu Feb 08 2018 Fedora Release Engineering - 4.4.1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild