From 20859cffc68d613218e6e2bb42cf9f49e55f3487 Mon Sep 17 00:00:00 2001 From: Rafael Santos Date: Apr 09 2018 08:38:52 +0000 Subject: Fix injection of Fedora build flags - Resolves #1548732 Signed-off-by: Rafael Santos --- diff --git a/netcdf.spec b/netcdf.spec index af0910c..c79e4e6 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 @@ -186,6 +186,7 @@ m4 libsrc/ncx.m4 > libsrc/ncx.c %build +%set_build_flags #Do out of tree builds %global _configure ../configure #Common configure options @@ -199,7 +200,7 @@ m4 libsrc/ncx.m4 > libsrc/ncx.c --enable-hdf4 \\\ --disable-dap-remote-tests \\\ %{nil} -export LDFLAGS="%{__global_ldflags} -L%{_libdir}/hdf" +export LDFLAGS="%{build_ldflags} -L%{_libdir}/hdf" # Serial build mkdir build @@ -337,6 +338,9 @@ done %changelog +* Mon Apr 09 2018 Rafael Santos - 4.4.1.1-9 +- Resolves #1548732 - Fix injection of Fedora build flags + * Thu Feb 08 2018 Fedora Release Engineering - 4.4.1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild