diff --git a/pdf2djvu.changes b/pdf2djvu.changes index a94496b..5c53774 100644 --- a/pdf2djvu.changes +++ b/pdf2djvu.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 4 08:44:35 UTC 2024 - Christophe Marin + +- Enforce c++20 on factory to fix build failures with + poppler >= 24.05 + ------------------------------------------------------------------- Mon Jan 9 14:14:57 UTC 2023 - pgajdos@suse.com diff --git a/pdf2djvu.spec b/pdf2djvu.spec index dd9152a..b4ef5ea 100644 --- a/pdf2djvu.spec +++ b/pdf2djvu.spec @@ -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