[libreoffice] Resolves: rhbz#1085420 remove internal libraries from provides

David Tardon dtardon at fedoraproject.org
Thu Apr 10 16:42:12 UTC 2014


commit b32af17d674972837fc177bc93626d3a1bc0fd45
Author: David Tardon <dtardon at redhat.com>
Date:   Thu Apr 10 09:47:46 2014 +0200

    Resolves: rhbz#1085420 remove internal libraries from provides

 libreoffice.spec |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/libreoffice.spec b/libreoffice.spec
index 8a1bf28..bb9d3f7 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -297,6 +297,14 @@ Patch29: 0001-drop-OnlyShowIn-from-.desktop-files.patch
 %define sdkinstdir %{baseinstdir}/sdk
 %define fontname opensymbol
 
+# rhbz#1085420 do not let libreoffice packages provide internal libraries
+%if 0%{?rhel} && 0%{?rhel} < 7
+%filter_provides_in %{baseinstdir}/program
+%filter_setup
+%else
+%global __provides_exclude_from ^%{baseinstdir}/program/.*\\.so$
+%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