commit 44966bae9369d4e2caf1ae778dd5a64739667ee6 Author: Jonathan Wakely Date: Mon Jul 27 11:14:37 2015 +0100 Use -P flag during configure tests. diff --git a/roboptim-core.spec b/roboptim-core.spec index ba84ee1..e904cd9 100644 --- a/roboptim-core.spec +++ b/roboptim-core.spec @@ -1,6 +1,6 @@ Name: roboptim-core Version: 0.5 -Release: 16%{?dist} +Release: 17%{?dist} Summary: The RobOptim core C++ library Group: Development/Libraries @@ -54,7 +54,7 @@ Documentation for the RobOptim core library touch -r aclocal.m4 configure configure.ac %build -%configure --docdir=%{_pkgdocdir} --disable-static +%configure --docdir=%{_pkgdocdir} --disable-static CPPFLAGS=-P sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool @@ -107,6 +107,9 @@ rm -rf $RPM_BUILD_ROOT %postun -p /sbin/ldconfig %changelog +* Mon Jul 27 2015 Jonathan Wakely 0.5-17 +- Use -P flag during configure tests. + * Wed Jul 22 2015 David Tardon - 0.5-16 - rebuild for Boost 1.58