@ -43,6 +43,12 @@
# set nodejs_version
# set nodejs_version
%global nodejs_version v20.6.1
%global nodejs_version v20.6.1
%global system_nodejs 1
# RHEL 8 needs newer nodejs
%if 0%{?rhel} == 8
%global system_nodejs 0
%endif
# set esbuild_version
# set esbuild_version
%global esbuild_version 0.19.2
%global esbuild_version 0.19.2
@ -248,8 +254,8 @@
%endif
%endif
Name: chromium%{chromium_channel}
Name: chromium%{chromium_channel}
Version: 118.0.5993.70
Version: 118.0.5993.88
Release: 2 %{?dist}
Release: 1 %{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
Url: http://www.chromium.org/Home
License: BSD-3-Clause AND LGPL-2.1-or-later AND Apache-2.0 AND IJG AND MIT AND GPL-2.0-or-later AND ISC AND OpenSSL AND (MPL-1.1 OR GPL-2.0-only OR LGPL-2.0-only)
License: BSD-3-Clause AND LGPL-2.1-or-later AND Apache-2.0 AND IJG AND MIT AND GPL-2.0-or-later AND ISC AND OpenSSL AND (MPL-1.1 OR GPL-2.0-only OR LGPL-2.0-only)
@ -415,8 +421,7 @@ Source9: chromium-browser.xml
Source10: chrome-remote-desktop@.service
Source10: chrome-remote-desktop@.service
Source11: master_preferences
Source11: master_preferences
# RHEL 8 needs newer nodejs
%if ! %{system_nodejs}
%if 0%{?rhel} == 8
Source12: https://nodejs.org/dist/%{nodejs_version}/node-%{nodejs_version}-linux-x64.tar.xz
Source12: https://nodejs.org/dist/%{nodejs_version}/node-%{nodejs_version}-linux-x64.tar.xz
Source13: https://nodejs.org/dist/%{nodejs_version}/node-%{nodejs_version}-linux-arm64.tar.xz
Source13: https://nodejs.org/dist/%{nodejs_version}/node-%{nodejs_version}-linux-arm64.tar.xz
%endif
%endif
@ -517,19 +522,17 @@ BuildRequires: mesa-libgbm-devel
# Old Fedora (before 30) uses the 1.2 minizip by default.
# Old Fedora (before 30) uses the 1.2 minizip by default.
# Newer Fedora needs to use the compat package
# Newer Fedora needs to use the compat package
%if 0%{?fedora} >= 30
# Fedora > 39 uses minizip-ng
BuildRequires: minizip-compat-devel
%if ! %{bundleminizip}
%if 0%{?fedora} > 39 || 0%{?rhel} > 9
# BuildRequires: minizip-ng-devel
BuildRequires: minizip-compat-devel
%else
%else
# RHEL 8 needs to use the compat-minizip (provided by minizip1.2)
BuildRequires: minizip-compat-devel
%if 0%{?rhel} >= 8
BuildRequires: minizip-compat-devel
%endif
%endif
%endif
%endif
# RHEL 8 needs newer nodejs
%if %{system_nodejs}
%if 0%{?rhel} == 8
# nothing
%else
BuildRequires: nodejs
BuildRequires: nodejs
%endif
%endif
@ -841,21 +844,7 @@ Chromium is an open-source web browser, powered by WebKit (Blink).
%package common
%package common
Summary: Files needed for both the headless_shell and full Chromium
Summary: Files needed for both the headless_shell and full Chromium
# Chromium needs an explicit Requires: minizip-compat
# We put it here to cover headless too.
%if 0%{?fedora} >= 30
Requires: minizip-compat%{_isa}
%else
%if 0%{?rhel} == 7
# Do nothing
%else
%if 0%{?rhel} == 9
Requires: minizip1.2%{_isa}
%else
Requires: minizip%{_isa}
%endif
%endif
%endif
# -common doesn't have chrome-remote-desktop bits
# -common doesn't have chrome-remote-desktop bits
# but we need to clean it up if it gets disabled again
# but we need to clean it up if it gets disabled again
# NOTE: Check obsoletes version to be sure it matches
# NOTE: Check obsoletes version to be sure it matches
@ -1011,8 +1000,8 @@ udev.
# See `man find` for how the `-exec command {} +` syntax works
# See `man find` for how the `-exec command {} +` syntax works
find -type f \( -iname "*.py" \) -exec sed -i '1s=^#! */usr/bin/\(python\|env python\)[23]\?=#!%{__python3}=' {} +
find -type f \( -iname "*.py" \) -exec sed -i '1s=^#! */usr/bin/\(python\|env python\)[23]\?=#!%{__python3}=' {} +
# install nodejs
# Add correct path for nodejs binary
%if 0%{?rhel} == 8
%if ! %{system_nodejs}
pushd third_party/node/linux
pushd third_party/node/linux
%ifarch x86_64
%ifarch x86_64
tar xf %{SOURCE12}
tar xf %{SOURCE12}
@ -1696,6 +1685,10 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%{chromium_path}/chromedriver
%{chromium_path}/chromedriver
%changelog
%changelog
* Wed Oct 18 2023 Than Ngo <than@redhat.com> - 118.0.5993.88-1
- update to 118.0.5993.88
- cleanup the package dependencies
* Mon Oct 16 2023 Than Ngo <than@redhat.com> - 118.0.5993.70-2
* Mon Oct 16 2023 Than Ngo <than@redhat.com> - 118.0.5993.70-2
- fix tab crash with SIGTRAP when using system ffmpeg
- fix tab crash with SIGTRAP when using system ffmpeg