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

This commit is contained in:
Jeff Law 2020-10-27 11:55:06 -06:00
parent a61feef0e2
commit 4dd6127862

View File

@ -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 <law@redhat.com> - 2.2.7-3
- Force C++14 as this code is not C++17 ready
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild