[libreoffice] stop showing math and startcenter in menu (again)

David Tardon dtardon at fedoraproject.org
Thu Jan 23 12:40:13 UTC 2014


commit 3818cfc03ffb85e5a222c1d3b7247cebb063cab8
Author: David Tardon <dtardon at redhat.com>
Date:   Thu Jan 23 13:36:11 2014 +0100

    stop showing math and startcenter in menu (again)

 libreoffice.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/libreoffice.spec b/libreoffice.spec
index f21bf53..d507530 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -43,7 +43,7 @@ Summary:        Free Software Productivity Suite
 Name:           libreoffice
 Epoch:          1
 Version:        %{libo_version}.3
-Release:        1%{?libo_prerelease}%{?dist}
+Release:        2%{?libo_prerelease}%{?dist}
 License:        (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0
 Group:          Applications/Productivity
 URL:            http://www.libreoffice.org/default/
@@ -1352,6 +1352,8 @@ done
 for app in base calc draw impress math writer; do
     echo "X-TryExec=oo$app" >> $app.desktop
 done
+# rhbz#156677 / rhbz#186515 do not show math and startcenter
+sed -i -e /NoDisplay/s/false/true/ math.desktop startcenter.desktop
 # relocate the .desktop and icon files
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
 for app in base calc draw impress math startcenter writer xsltfilter; do
@@ -2114,6 +2116,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
 %endif
 
 %changelog
+* Thu Jan 23 2014 David Tardon <dtardon at redhat.com> - 1:4.2.0.3-2
+- stop showing math and startcenter in menu (again)
+
 * Wed Jan 22 2014 David Tardon <dtardon at redhat.com> - 1:4.2.0.3-1
 - update to 4.2.0 rc3
 


More information about the scm-commits mailing list