|
|
|
@ -197,11 +197,11 @@
|
|
|
|
|
%global bundlelibaom 1
|
|
|
|
|
%global bundlelibavif 1
|
|
|
|
|
%global bundledav1d 1
|
|
|
|
|
%global bundlesnappy 1
|
|
|
|
|
|
|
|
|
|
# Fedora's Python 2 stack is being removed, we use the bundled Python libraries
|
|
|
|
|
# This can be revisited once we upgrade to Python 3
|
|
|
|
|
%global bundlepylibs 0
|
|
|
|
|
%global bundlelibevent 0
|
|
|
|
|
%global bundlelibxslt 0
|
|
|
|
|
%global bundleflac 0
|
|
|
|
|
|
|
|
|
@ -231,9 +231,9 @@
|
|
|
|
|
%global bundlecrc32c 1
|
|
|
|
|
%global bundledoubleconversion 1
|
|
|
|
|
%global bundlelibsecret 1
|
|
|
|
|
%global bundlesnappy 1
|
|
|
|
|
%global bundlelibXNVCtrl 1
|
|
|
|
|
%global bundlelibxml 1
|
|
|
|
|
%global bundlelibevent 1
|
|
|
|
|
%else
|
|
|
|
|
%if 0%{?fedora} > 38 || 0%{?rhel} > 9
|
|
|
|
|
%global bundlebrotli 0
|
|
|
|
@ -261,9 +261,9 @@
|
|
|
|
|
%endif
|
|
|
|
|
%global bundledoubleconversion 0
|
|
|
|
|
%global bundlelibsecret 0
|
|
|
|
|
%global bundlesnappy 1
|
|
|
|
|
%global bundlelibXNVCtrl 0
|
|
|
|
|
%global bundlelibxml 0
|
|
|
|
|
%global bundlelibevent 0
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
### From 2013 until early 2021, Google permitted distribution builds of
|
|
|
|
@ -300,7 +300,7 @@
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: chromium%{chromium_channel}
|
|
|
|
|
Version: 121.0.6167.160
|
|
|
|
|
Version: 121.0.6167.184
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
|
|
|
|
|
Url: http://www.chromium.org/Home
|
|
|
|
@ -1065,8 +1065,10 @@ udev.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if ! %{bundlelibxml}
|
|
|
|
|
%if 0%{?fedora} && 0%{?fedora} < 40 || 0%{?rhel} && 0%{?rhel} < 10
|
|
|
|
|
%patch -P90 -p1 -b .system-libxml
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if ! %{bundleopus}
|
|
|
|
|
%patch -P91 -p1 -b .system-opus
|
|
|
|
@ -1238,6 +1240,14 @@ CXXFLAGS="$CFLAGS"
|
|
|
|
|
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
|
|
|
|
@ -1254,6 +1264,8 @@ export READELF=readelf
|
|
|
|
|
%endif
|
|
|
|
|
export CFLAGS
|
|
|
|
|
export CXXFLAGS
|
|
|
|
|
export LDFLAGS
|
|
|
|
|
export RUSTFLAGS
|
|
|
|
|
|
|
|
|
|
# enable toolset on el7
|
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
@ -1284,7 +1296,7 @@ CHROMIUM_CORE_GN_DEFINES=""
|
|
|
|
|
# using system toolchain
|
|
|
|
|
CHROMIUM_CORE_GN_DEFINES+=' custom_toolchain="//build/toolchain/linux/unbundle:default"'
|
|
|
|
|
CHROMIUM_CORE_GN_DEFINES+=' host_toolchain="//build/toolchain/linux/unbundle:default"'
|
|
|
|
|
CHROMIUM_CORE_GN_DEFINES+=' is_debug=false'
|
|
|
|
|
CHROMIUM_CORE_GN_DEFINES+=' is_debug=false dcheck_always_on=false dcheck_is_configurable=false'
|
|
|
|
|
CHROMIUM_CORE_GN_DEFINES+=' use_goma=false'
|
|
|
|
|
CHROMIUM_CORE_GN_DEFINES+=' enable_nacl=false'
|
|
|
|
|
CHROMIUM_CORE_GN_DEFINES+=' system_libdir="%{_lib}"'
|
|
|
|
@ -1392,7 +1404,7 @@ CHROMIUM_BROWSER_GN_DEFINES+=' use_v4l2_codec=true'
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 8
|
|
|
|
|
CHROMIUM_BROWSER_GN_DEFINES+=' rtc_use_pipewire=true'
|
|
|
|
|
CHROMIUM_BROWSER_GN_DEFINES+=' rtc_use_pipewire=true rtc_link_pipewire=true'
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if ! %{bundlelibjpeg}
|
|
|
|
@ -1920,6 +1932,9 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
|
|
|
|
|
%{chromium_path}/chromedriver
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Feb 14 2024 Than Ngo <than@redhat.com> - 121.0.6167.184-1
|
|
|
|
|
- update to 121.0.6167.184
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2024 Than Ngo <than@redhat.com> - 121.0.6167.160-1
|
|
|
|
|
- update to 121.0.6167.160
|
|
|
|
|
* High CVE-2024-1284: Use after free in Mojo
|
|
|
|
|