Run libtoolize to not strip link flags (bug #1548732)

epel9
Orion Poplawski 7 years ago
parent 7f44b30141
commit 31c4b7cc39

@ -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 <orion@nwra.com> - 4.4.1.1-9
- Run libtoolize to not strip link flags (bug #1548732)
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.1.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Loading…
Cancel
Save