From 2b2db2f9e3ada2e15087d2430d4f3a555d21a956 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Aug 19 2020 01:31:03 +0000 Subject: Force C++14 as this code is not C++17 ready --- diff --git a/giac.spec b/giac.spec index 56d1b88..2b02ecc 100644 --- a/giac.spec +++ b/giac.spec @@ -7,7 +7,7 @@ Name: giac Summary: Computer Algebra System, Symbolic calculus, Geometry Version: 1.6.0%{subversion} -Release: 3%{?dist} +Release: 4%{?dist} # LGPLv3+: src/Fl_GDI_Printer.cxx, src/Flv_List.cc, src/Flv_Table.cc # BSD: src/tinymt32* License: GPLv3+ @@ -166,6 +166,8 @@ rm -f examples/Exemples/demo/._* rm -f examples/Exemples/analyse/._* %build +export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS" + %configure --enable-static=no --with-included-gettext=no --enable-nls=yes \ --enable-tommath=no --enable-debug=no --enable-gc=no --enable-sscl=no \ --enable-dl=yes --enable-gsl=yes --enable-lapack=yes --enable-pari=yes \ @@ -390,6 +392,9 @@ make -C check check %{_datadir}/giac/examples/ %changelog +* Tue Aug 18 2020 Jeff Law - 1.6.0.7-4 +- Force C++14 as this code is not C++17 ready + * Sat Aug 01 2020 Fedora Release Engineering - 1.6.0.7-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild