From 4dd6127862ef4528f66d314763e90c52c5fcbc22 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 27 Oct 2020 11:55:06 -0600 Subject: [PATCH] Force C++14 as this code is not C++17 ready --- libvpd.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libvpd.spec b/libvpd.spec index c487f8e..1c4c245 100644 --- a/libvpd.spec +++ b/libvpd.spec @@ -1,6 +1,6 @@ Name: libvpd Version: 2.2.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: VPD Database access library for lsvpd License: LGPLv2+ @@ -26,6 +26,7 @@ Contains header files for building with libvpd. %setup -q %build +export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS" ./bootstrap.sh %configure --disable-static make %{?_smp_mflags} @@ -64,6 +65,9 @@ popd %{_libdir}/pkgconfig/libvpd_cxx-2.pc %changelog +* Tue Oct 27 2020 Jeff Law - 2.2.7-3 +- Force C++14 as this code is not C++17 ready + * Tue Jul 28 2020 Fedora Release Engineering - 2.2.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild