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

This commit is contained in:
Jeff Law 2020-10-27 11:47:25 -06:00
parent 9a4fed8c9f
commit 11b54ced0e

View File

@ -3,7 +3,7 @@
Name: %{name} Name: %{name}
Version: %{version} Version: %{version}
Release: 2%{?dist} Release: 3%{?dist}
Summary: VPD/hardware inventory utilities for Linux Summary: VPD/hardware inventory utilities for Linux
License: GPLv2+ License: GPLv2+
@ -37,6 +37,7 @@ on POWER PC based systems.
%autosetup %autosetup
%build %build
export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
./bootstrap.sh ./bootstrap.sh
%configure %configure
make %{?_smp_mflags} make %{?_smp_mflags}
@ -70,6 +71,9 @@ exit 0
%dir %{_sysconfdir}/lsvpd %dir %{_sysconfdir}/lsvpd
%changelog %changelog
* Tue Oct 27 2020 Jeff Law <law@redhat.com> - 1.7.11-3
- Force C++14 as this code is not C++17 ready
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.11-2 * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild