From 2105063149b9bfcac44003cfd53637d9638af7e8 Mon Sep 17 00:00:00 2001 From: tigro Date: Wed, 14 Feb 2024 17:10:18 +0300 Subject: [PATCH] - Update to 121.0.6167.184 - reduce the size of relocations --- .chromium.metadata | 2 +- .gitignore | 2 +- SPECS/chromium.spec | 17 ++++++++++++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.chromium.metadata b/.chromium.metadata index ceed300f..f17aca07 100644 --- a/.chromium.metadata +++ b/.chromium.metadata @@ -1,4 +1,4 @@ -7dad8ef838e06d5a3366dcd20b342eb652d0abc2 SOURCES/chromium-121.0.6167.160.tar.xz +4599a68d92690b24e583966e47cec2d908f1f97a SOURCES/chromium-121.0.6167.184.tar.xz dea187019741602d57aaf189a80abba261fbd2aa SOURCES/linux-x64-0.19.2.tgz 7e5d2c7864c5c83ec789b59c77cd9c20d2594916 SOURCES/linux-arm64-0.19.2.tgz 769196d081c6a0ad37f1c63dec56febfff3370de SOURCES/node-v20.6.1-linux-x64.tar.xz diff --git a/.gitignore b/.gitignore index 359ba5e8..2bbb1dbe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -SOURCES/chromium-121.0.6167.160.tar.xz +SOURCES/chromium-121.0.6167.184.tar.xz SOURCES/linux-x64-0.19.2.tgz SOURCES/linux-arm64-0.19.2.tgz SOURCES/node-v20.6.1-linux-x64.tar.xz diff --git a/SPECS/chromium.spec b/SPECS/chromium.spec index fdec4eb7..93e63a7c 100644 --- a/SPECS/chromium.spec +++ b/SPECS/chromium.spec @@ -332,7 +332,7 @@ %endif Name: chromium%{chromium_channel} -Version: 121.0.6167.160 +Version: 121.0.6167.184 Release: 1%{?dist}.inferit Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use Url: http://www.chromium.org/Home @@ -1369,6 +1369,15 @@ CFLAGS="$FLAGS" CXXFLAGS="$FLAGS" %endif +# reduce the size of relocations +%if 0%{?fedora} || 0%{?rhel} > 9 +LDFLAGS="$LDFLAGS -Wl,-z,pack-relative-relocs" +RUSTFLAGS=${RUSTFLAGS/--cap-lints/-Clink-arg=-Wl,-z,pack-relative-relocs --cap-lints} +%if ! %{enable_debug} +RUSTFLAGS=${RUSTFLAGS/debuginfo=?/debuginfo=0} +%endif +%endif + %if %{clang} export CC=clang export CXX=clang++ @@ -1384,6 +1393,8 @@ export READELF=readelf %endif export CFLAGS export CXXFLAGS +export LDFLAGS +export RUSTFLAGS # enable toolset on el7 %if 0%{?rhel} == 7 @@ -2061,6 +2072,10 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt %endif %changelog +* Wed Feb 14 2024 Arkady L. Shane - 121.0.6167.184-1.inferit +- Update to 121.0.6167.184 +- reduce the size of relocations + * Fri Feb 09 2024 Arkady L. Shane - 121.0.6167.160-1.inferit - update to 121.0.6167.160 * High CVE-2024-1284: Use after free in Mojo