Force C++14 as this code is not C++17 ready

epel9
Jeff Law 5 years ago
parent 21295d991b
commit c3025acf25

@ -3,7 +3,7 @@
Name: dpkg Name: dpkg
Version: 1.19.7 Version: 1.19.7
Release: 7%{?dist} Release: 8%{?dist}
Summary: Package maintenance system for Debian Linux Summary: Package maintenance system for Debian Linux
# The entire source code is GPLv2+ with exception of the following # The entire source code is GPLv2+ with exception of the following
# lib/dpkg/md5.c, lib/dpkg/md5.h - Public domain # lib/dpkg/md5.c, lib/dpkg/md5.h - Public domain
@ -169,6 +169,7 @@ EOF
chmod +x %{__perl_requires} chmod +x %{__perl_requires}
%build %build
export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
autoreconf autoreconf
%configure --disable-linker-optimisations \ %configure --disable-linker-optimisations \
--with-admindir=%{_localstatedir}/lib/dpkg \ --with-admindir=%{_localstatedir}/lib/dpkg \
@ -454,6 +455,9 @@ create_logfile
%changelog %changelog
* Tue Aug 14 2020 Jeff Law <law@redhat.com> - 1.19.7-8
- Force C++14 as this code is not C++17 ready
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.7-7 * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.7-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

Loading…
Cancel
Save