Compile with "g++ -std=gnu++03" (F24FTBFS, RHBZ#1307711).
This commit is contained in:
parent
19e912ef60
commit
766e7b6b24
10
lftp.spec
10
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 <corsepiu@fedoraproject.org> - 4.6.5-3
|
||||
- Compile with "g++ -std=gnu++03" (F24FTBFS, RHBZ#1307711).
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user