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

This commit is contained in:
Jeff Law 2020-07-28 21:15:56 -06:00
parent 8492ea50a9
commit e28e70ae57

View File

@ -1,7 +1,7 @@
Summary: Produces a document with syntax highlighting Summary: Produces a document with syntax highlighting
Name: source-highlight Name: source-highlight
Version: 3.1.9 Version: 3.1.9
Release: 3%{?dist} Release: 4%{?dist}
License: GPLv3+ License: GPLv3+
Source0: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz Source0: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz
Source1: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz.sig Source1: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz.sig
@ -32,6 +32,7 @@ Development files for source-highlight
%autosetup -p1 %autosetup -p1
%build %build
export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
%configure --disable-static \ %configure --disable-static \
--with-boost-regex=boost_regex --with-boost-regex=boost_regex
%make_build %make_build
@ -79,6 +80,9 @@ rmdir $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
%{_includedir}/srchilite/*.h %{_includedir}/srchilite/*.h
%changelog %changelog
* Tue Jul 28 2020 Jeff Law <law@redhat.com> - 3.1.9-4
- Force C++14 as this code is not C++17 ready
* Thu May 28 2020 Jonathan Wakely <jwakely@redhat.com> - 3.1.9-3 * Thu May 28 2020 Jonathan Wakely <jwakely@redhat.com> - 3.1.9-3
- Rebuilt for Boost 1.73 - Rebuilt for Boost 1.73