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