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

This commit is contained in:
Jeff Law 2020-08-19 10:53:13 -06:00
parent 4b86a862ba
commit 240ee33795
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: pdf2djvu
Version: 0.9.17
Release: 3%{?dist}
Release: 4%{?dist}
Summary: PDF to DjVu converter
License: GPLv2+
URL: http://jwilk.net/software/pdf2djvu
@ -25,6 +25,7 @@ metadata.
%autosetup
%build
export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
%configure
%make_build
@ -46,6 +47,9 @@ install -p -m 644 -D {doc,%{buildroot}%{_mandir}/man1}/%{name}.1
%{_mandir}/ru/man1/%{name}.1*
%changelog
* Wed Aug 19 2020 Jeff Law <law@redhat.com> - 0.9.17-4
- Force C++14 as this code is not C++17 ready
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.17-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild