On Mon, Jan 30, 2017 at 01:04:24PM +0000, Evgenii Terechkov wrote: > Update of /people/evg/packages/iperf.git > > Changes statistics since `2.0.5-alt4' follows: > iperf.spec | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > Changelog since `2.0.5-alt4' follows: > commit 67be0e4a90b07127ef8aa66144f148ecdfcc49b7 > Author: Evgenii Terechkov > Date: Mon Jan 30 14:19:49 2017 +0700 > > 2.0.5-alt5 > > - Fix build by hardcoding gcc5-c++ compiler > > Full diff since `2.0.5-alt4' follows: > diff --git a/iperf.spec b/iperf.spec > index 694d0d3..d615024 100644 > --- a/iperf.spec > +++ b/iperf.spec > @@ -4,7 +4,7 @@ > > Name: iperf > Version: 2.0.5 > -Release: alt4 > +Release: alt5 > > Summary: Iperf was developed as a modern alternative for measuring TCP and UDP bandwidth performance > License: BSD > @@ -29,7 +29,7 @@ Patch6: 010-fix-format-security-ftbfs.patch > Patch7: 011-ipv6_mcast_check.patch > > > -BuildRequires: gcc-c++ > +BuildRequires: gcc5-c++ > > %description > Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of various > @@ -88,6 +88,9 @@ rm -f doc/Makefile* > %doc README doc/* ChangeLog AUTHORS > > %changelog > +* Mon Jan 30 2017 Terechkov Evgenii 2.0.5-alt5 > +- Fix build by hardcoding gcc5-c++ compiler Это неправильный способ выбора дефолтного компилятора, скоро gcc5-c++ перестанет реализовывать и предоставлять /usr/bin/g++, и этот способ перестанет работать. Необходимо добавить %set_gcc_version 5 или выполнить эквивалентное действие. -- ldv