From 4328cbd1ec77299d2700befeec9bd79e7c658657 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 15 Mar 2016 17:27:15 +0100 Subject: [PATCH] disable browser plugin It will be removed in 5.2 anyway. --- libreoffice.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libreoffice.spec b/libreoffice.spec index c7c99fc..66e5867 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1129,6 +1129,11 @@ touch autogen.lastrun %{?bundling_options} \ %{?archoptions} +%if ! 0%{?rhel} +# disable browser plugin +sed -i -e '/ENABLE_NPAPI_FROM_BROWSER=/s/TRUE//' config_host.mk +%endif + ulimit -c unlimited make verbose=true @@ -1564,7 +1569,11 @@ rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar %{baseinstdir}/program/libopencllo.so %{baseinstdir}/program/libpcrlo.so %{baseinstdir}/program/libpdffilterlo.so +%if 0%{?rhel} +# browser plugin %{baseinstdir}/program/libpllo.so +%{baseinstdir}/program/pluginapp.bin +%endif %{baseinstdir}/program/libprotocolhandlerlo.so %{baseinstdir}/program/librecentfile.so %{baseinstdir}/program/libreslo.so @@ -1672,7 +1681,6 @@ rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar %{baseinstdir}/program/types/offapi.rdb %{baseinstdir}/program/libpasswordcontainerlo.so %{baseinstdir}/program/pagein-common -%{baseinstdir}/program/pluginapp.bin %dir %{baseinstdir}/program/resource %{baseinstdir}/program/resource/avmediaen-US.res %{baseinstdir}/program/resource/accen-US.res @@ -2262,6 +2270,7 @@ done rules - disable quickstarter - move icons and other system-integration stuff to a noarch subpackage +- disable browser plugin in preparation for its removal in 5.2 * Wed Mar 09 2016 David Tardon - 1:5.1.1.3-2 - update for liborcus 0.11.0