From a570ba161b1939a6e0f0a61686998230f66a83ed Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Jul 29 2020 03:08:27 +0000 Subject: Force C++14 as this code is not C++17 ready --- diff --git a/sicktoolbox.spec b/sicktoolbox.spec index c6a62e5..777fc1c 100644 --- a/sicktoolbox.spec +++ b/sicktoolbox.spec @@ -1,6 +1,6 @@ Name: sicktoolbox Version: 1.0.1 -Release: 13%{?dist} +Release: 14%{?dist} Summary: The SICK LIDAR Toolbox License: BSD @@ -41,6 +41,7 @@ Assorted documentation for %{name}. %patch1 -p1 %build +export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS" %configure --disable-static --program-prefix=sick_ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool @@ -67,6 +68,9 @@ rm -rf %{buildroot}%{_libdir}/*.la %doc manuals/*.pdf %changelog +* Tue Jul 28 2020 Jeff Law - 1.0.1-14 +- Force C++14 as this code is not C++17 ready + * Thu Jan 30 2020 Fedora Release Engineering - 1.0.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild