diff --git a/SPECS/chromium.spec b/SPECS/chromium.spec index 7d14f560..b30e307f 100644 --- a/SPECS/chromium.spec +++ b/SPECS/chromium.spec @@ -260,18 +260,16 @@ %global bundlelibdrm 0 %global bundleffmpegfree 0 %global bundlefreetype 0 -%global bundlelibopenjpeg2 1 -%global bundlelibtiff 0 %global bundlelibxml 0 -%if 0%{?rhel} > 9 -%global bundlelibopenjpeg2 0 -%global bundleharfbuzz 0 -%global bundlebrotli 0 -%global bundlelibwebp 0 +# need libtiff-4.6.1 or newer, error: use of undeclared identifier 'TIFFOpenOptionsSetMaxCumulatedMemAlloc' +%if 0%{?fedora} > 41 +%global bundlelibtiff 0 %endif %if 0%{?fedora} -%global bundlelibopenjpeg2 0 %global bundlecrc32c 0 +%endif +%if 0%{?rhel} > 9 +%global bundlelibopenjpeg2 0 %global bundleharfbuzz 0 %global bundlebrotli 0 %global bundlelibwebp 0