From b32af17d674972837fc177bc93626d3a1bc0fd45 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 10 Apr 2014 09:47:46 +0200 Subject: [PATCH] Resolves: rhbz#1085420 remove internal libraries from provides --- libreoffice.spec | 8 ++++++++ 1 file changed, 8 insertions(+) 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,