diff --git a/SPECS/chromium.spec b/SPECS/chromium.spec index cffcef5c..1d937861 100644 --- a/SPECS/chromium.spec +++ b/SPECS/chromium.spec @@ -1,3 +1,10 @@ +# Build with GOST patches +# https://github.com/deemru/chromium-gost/ +%global gost 1 +%define chromium_gost_commit 2c81b2fed144086340d5220ef707350b7fb18ec9 +%define msspi_commit 3c50c2d33a4bdf4effb01aaeb9ff5d5b67635a18 +%define chromium_path_gost %{_builddir}/chromium-gost + %define _lto_cflags %{nil} # enable|disable system build flags @@ -232,13 +239,6 @@ %endif %endif -# Build with GOST patches -# https://github.com/deemru/chromium-gost/ -%global gost 1 -%define chromium_gost_commit 2c81b2fed144086340d5220ef707350b7fb18ec9 -%define msspi_commit 3c50c2d33a4bdf4effb01aaeb9ff5d5b67635a18 -%define chromium_path_gost %{_builddir}/chromium-gost - ### From 2013 until early 2021, Google permitted distribution builds of ### Chromium to access Google APIs that added significant features to ### Chromium including, but not limited to, Sync and geolocation. @@ -274,7 +274,7 @@ Name: chromium%{chromium_channel} Version: 119.0.6045.159 -Release: 1%{?dist}.inferit.gost +Release: 2%{?dist}.inferit Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use 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) @@ -511,12 +511,12 @@ BuildRequires: binutils #BuildRequires: pkgconfig(libavutil) # chromium fail to start for rpmfusion users due to ABI break in ffmpeg-free-6.0.1 # bethween fedora and rpmfussion. -#%%if 0%{?rhel} == 9 || 0%%{?fedora} == 37 -#Conflicts: libavformat-free%{_isa} < 5.1.4 -#Conflicts: ffmpeg-libs%{_isa} < 5.1.4 +#%%if 0%%{?rhel} == 9 || 0%%{?fedora} == 37 +#Conflicts: libavformat-free%%{_isa} < 5.1.4 +#Conflicts: ffmpeg-libs%%{_isa} < 5.1.4 #%%else -#Conflicts: libavformat-free%{_isa} < 6.0.1 -#Conflicts: ffmpeg-libs%{_isa} < 6.0.1-2 +#Conflicts: libavformat-free%%{_isa} < 6.0.1 +#Conflicts: ffmpeg-libs%%{_isa} < 6.0.1-2 #%%endif #%%endif @@ -899,7 +899,7 @@ Provides: %{name}-gost-lib = %{version}-%{release} %description Chromium is an open-source web browser, powered by WebKit (Blink). %if %{gost} -chromium-gost patches are integrated, this Chromium supports GOST TLS +Chromium GOST patches are integrated, this Chromium supports GOST TLS if proprietary CryptoPro is installed. %endif @@ -1802,7 +1802,7 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt %{chromium_path}/chromedriver %changelog -* Sat Nov 25 2023 Arkady L. Shane - 119.0.6045.159-1.inferit.gost +* Sat Nov 25 2023 Arkady L. Shane - 119.0.6045.159-2.inferit - Apply GOST patches * Mon Nov 20 2023 Arkady L. Shane - 119.0.6045.159-1.inferit