From 1e6dd8bb56a4e1e763f127117d2e8b3d103ee4ee Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Fri, 26 Jul 2024 18:31:46 +0200 Subject: [PATCH 1/2] enable bundleicu as workaround for build error --- chromium.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/chromium.spec b/chromium.spec index 484e190b..e90703a6 100644 --- a/chromium.spec +++ b/chromium.spec @@ -253,13 +253,11 @@ %global bundlecrc32c 1 %global bundleharfbuzz 1 %global bundlebrotli 1 -%global bundleicu 1 %global bundlelibwebp 1 %else %global bundlecrc32c 0 %global bundleharfbuzz 0 %global bundlebrotli 0 -%global bundleicu 0 %global bundlelibwebp 0 %endif %endif From 66480303b23b047e2843972210ed41d07444433f Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Fri, 26 Jul 2024 18:59:07 +0200 Subject: [PATCH 2/2] drop unsupported rpm macro el8 --- chromium.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chromium.spec b/chromium.spec index e90703a6..77a3ed5e 100644 --- a/chromium.spec +++ b/chromium.spec @@ -1276,7 +1276,7 @@ cp -a third_party/dav1d/version/version.h third_party/dav1d/libdav1d/include/dav %build # build bindgen on el8 %if 0%{?rhel} == 8 -%__rpmuncompress -x %{SOURCE16} +xz -dc %{SOURCE16} | tar -xof - pushd rust-bindgen-0.69.4 cargo build mkdir -p ..%{_bindir} ..%{_libdir}