[libreoffice] rhbz#1085420 do not provide bundled libs

David Tardon dtardon at fedoraproject.org
Sun Apr 13 14:53:18 UTC 2014


commit 65261eae4455ba9e7dd9c5d9f5081c94aa569ace
Author: David Tardon <dtardon at redhat.com>
Date:   Sun Apr 13 16:52:27 2014 +0200

    rhbz#1085420 do not provide bundled libs

 libreoffice.spec |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/libreoffice.spec b/libreoffice.spec
index 57255bf..b09cda0 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -302,6 +302,15 @@ Patch32: 0001-fix-libetonyek-build.patch
 %define sdkinstdir %{baseinstdir}/sdk
 %define fontname opensymbol
 
+# rhbz#1085420 make sure we do not provide bundled libraries
+%if %{?rhel} && 0%{?rhel} < 7
+# redland libs are already suffixed -> no need to filter them too
+%global libo_bundled_libs_filter /^lib\\(clucene\\|lcms2\\|fbembed\\)\\.so.*$/d
+%filter_from_provides %{libo_bundled_libs_filter}
+%filter_from_requires %{libo_bundled_libs_filter}
+%filter_setup
+%endif
+
 %description
 LibreOffice is an Open Source, community-developed, office productivity suite.
 It includes the key desktop applications, such as a word processor,


More information about the scm-commits mailing list