From 9c01b8a771ba8a20bf7b33ce4ba130193ade1c15 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Aug 18 2020 20:31:22 +0000 Subject: Force C++14 as this code is not C++17 ready --- diff --git a/v4l-utils.spec b/v4l-utils.spec index ebad4fd..281be3d 100644 --- a/v4l-utils.spec +++ b/v4l-utils.spec @@ -3,7 +3,7 @@ Name: v4l-utils Version: 1.20.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utilities for video4linux and DVB devices # libdvbv5, dvbv5 utils, ir-keytable and v4l2-sysfs-path are GPLv2 only License: GPLv2+ and GPLv2 @@ -114,6 +114,7 @@ files for developing applications that use libdvbv5. %autosetup -p1 %build +export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS" %configure --disable-static --enable-libdvbv5 --enable-doxygen-man # Don't use rpath! sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool @@ -203,6 +204,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/qv4l2.desktop %changelog +* Tue Aug 18 2020 Jeff Law - 1.20.0-2 +- Force C++14 as this code is not C++17 ready + * Wed Aug 12 2020 Peter Robinson - 1.20.0-1 - Update to 1.20.0