From defc2306eef2baacee9c493e81bc076ba5d1f07c Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 28 Jul 2020 21:17:23 -0600 Subject: [PATCH] Force C++14 as this code is not C++17 ready --- source-highlight-qt.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source-highlight-qt.spec b/source-highlight-qt.spec index 740e5ce..7fe8467 100644 --- a/source-highlight-qt.spec +++ b/source-highlight-qt.spec @@ -1,7 +1,7 @@ Summary: Library for performing syntax highlighting in Qt documents Name: source-highlight-qt Version: 0.2.3 -Release: 29%{?dist} +Release: 30%{?dist} License: GPLv3 URL: http://srchiliteqt.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/srchiliteqt/source-highlight-qt/source-highlight-qt-%{version}.tar.gz @@ -35,6 +35,7 @@ source-highlight-qt-devel. %setup -q %build +export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS" %configure --with-qt=%{_libdir}/qt4/bin make %{?_smp_mflags} @@ -63,6 +64,9 @@ make check %{_libdir}/pkgconfig/source-highlight-qt4.pc %changelog +* Tue Jul 28 2020 Jeff Law - 0.2.3-30 +- Force C++14 as this code is not C++17 ready + * Sat May 30 2020 Jonathan Wakely - 0.2.3-29 - Rebuilt for Boost 1.73