- Enforce c++20 on factory to fix build failures with

poppler >= 24.05

OBS-URL: https://build.opensuse.org/package/show/Publishing/pdf2djvu?expand=0&rev=81
This commit is contained in:
Christophe Marin
2024-07-04 08:48:21 +00:00
committed by Git OBS Bridge
parent 8b8e06b5ea
commit f848ac2f35
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 4 08:44:35 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Enforce c++20 on factory to fix build failures with
poppler >= 24.05
-------------------------------------------------------------------
Mon Jan 9 14:14:57 UTC 2023 - pgajdos@suse.com

View File

@@ -47,8 +47,10 @@ metadata (including XMP metadata).
%autosetup -p1
%build
%if 0%{?suse_version} < 1550
%if 0%{?suse_version} == 1500
export CXXFLAGS="%{optflags} -std=c++17"
%else
export CXXFLAGS="%{optflags} -std=c++20"
%endif
%configure
%make_build