From 766e7b6b2416e5439f6a20b9fabde0cbdcc66556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Fri, 19 Feb 2016 09:20:36 +0100 Subject: [PATCH] Compile with "g++ -std=gnu++03" (F24FTBFS, RHBZ#1307711). --- lftp.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lftp.spec b/lftp.spec index 2984d61..5162809 100644 --- a/lftp.spec +++ b/lftp.spec @@ -1,7 +1,7 @@ Summary: A sophisticated file transfer program Name: lftp Version: 4.6.5 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ Group: Applications/Internet Source0: ftp://ftp.yar.ru/pub/source/%{name}/%{name}-%{version}.tar.xz @@ -38,7 +38,10 @@ sed -i.norpath -e \ configure %build -%configure --with-modules --disable-static --with-gnutls --without-openssl --with-debug +%configure --with-modules --disable-static --with-gnutls --without-openssl --with-debug \ +%if "%{version}" == "4.6.5" +CXX="%{__cxx} -std=gnu++03" +%endif make %{?_smp_mflags} %install @@ -93,6 +96,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Feb 19 2016 Ralf Corsépius - 4.6.5-3 +- Compile with "g++ -std=gnu++03" (F24FTBFS, RHBZ#1307711). + * Thu Feb 04 2016 Fedora Release Engineering - 4.6.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild