From 14f41d9abb2e5c5ab84768180afd21085cce9ab7 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 31 2020 06:09:03 +0000 Subject: import webkit2gtk3-2.30.2-2.el8 --- diff --git a/SPECS/webkit2gtk3.spec b/SPECS/webkit2gtk3.spec index 2b2c543..0fe40df 100644 --- a/SPECS/webkit2gtk3.spec +++ b/SPECS/webkit2gtk3.spec @@ -5,9 +5,14 @@ mkdir -p _license_files ; \ cp -p %1 _license_files/$(echo '%1' | sed -e 's!/!.!g') +# Build documentation by default (use `rpmbuild --without docs` to override it). +# This is used by Coverity. Coverity injects custom compiler warnings, but +# any warning during WebKit docs build is fatal! +%bcond_without docs + Name: webkit2gtk3 Version: 2.30.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK Web content engine library License: LGPLv2 @@ -137,6 +142,7 @@ Provides: webkitgtk4-devel = %{version}-%{release} The %{name}-devel package contains libraries, build data, and header files for developing applications that use %{name}. +%if %{with docs} %package doc Summary: Documentation files for %{name} BuildArch: noarch @@ -146,6 +152,7 @@ Provides: webkitgtk4-doc = %{version}-%{release} %description doc This package contains developer documentation for %{name}. +%endif %package jsc Summary: JavaScript engine from %{name} @@ -202,7 +209,9 @@ pushd %{_target_platform} -DPORT=GTK \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_BUBBLEWRAP_SANDBOX=OFF \ +%if %{with docs} -DENABLE_GTKDOC=ON \ +%endif -DENABLE_MINIBROWSER=ON \ -DUSE_WPE_RENDERER=OFF \ -DPYTHON_EXECUTABLE=%{_bindir}/python3 \ @@ -284,14 +293,20 @@ export NINJA_STATUS="[%f/%t][%e] " %dir %{_datadir}/gir-1.0 %{_datadir}/gir-1.0/JavaScriptCore-4.0.gir +%if %{with docs} %files doc %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/jsc-glib-4.0/ %{_datadir}/gtk-doc/html/webkit2gtk-4.0/ %{_datadir}/gtk-doc/html/webkitdomgtk-4.0/ +%endif %changelog +* Thu Oct 29 2020 Michael Catanzaro - 2.30.2-2 +- Try to fix coverity build by disabling docs (thanks to Kamil Dudka !) +- Related: #1883304 + * Mon Oct 26 2020 Michael Catanzaro - 2.30.2-1 - Update to 2.30.2 - Related: #1883304