Accepting request 970112 from home:mlin7442:rebuild_fails_154

fix Leap build

OBS-URL: https://build.opensuse.org/request/show/970112
OBS-URL: https://build.opensuse.org/package/show/Publishing/pdf2djvu?expand=0&rev=73
This commit is contained in:
Christophe Giboudeaux 2022-04-14 10:58:51 +00:00 committed by Git OBS Bridge
parent 3c52250ee3
commit f587794a43
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 14 08:24:32 UTC 2022 - Max Lin <mlin@suse.com>
- Use C++17 for fix Leap build
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 16 09:30:48 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr> Wed Mar 16 09:30:48 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -52,6 +52,9 @@ metadata (including XMP metadata).
%autosetup -p1 %autosetup -p1
%build %build
%if 0%{?suse_version} < 1550
export CXXFLAGS="%{optflags} -std=c++17"
%endif
%configure %configure
%make_build %make_build