From 5757a9d8b88df7b995468dde5922335d4925aee1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 29 Feb 2012 15:11:30 +0000 Subject: [PATCH] Resolves: rhbz#798667 missing .desktop icons --- libreoffice.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libreoffice.spec b/libreoffice.spec index 15e078a..c084416 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1426,7 +1426,7 @@ rm -rf icons/gnome applications application-registry #relocate the rest of them for icon in `find icons -type f`; do mkdir -p $RPM_BUILD_ROOT/%{_datadir}/`dirname $icon` - cp -p $icon $RPM_BUILD_ROOT/%{_datadir}/`echo $icon | sed -e s@office$ICONVERSION@office@` + cp -p $icon $RPM_BUILD_ROOT/%{_datadir}/`echo $icon | sed -e s@office$ICONVERSION@office@ | sed -e s@office$PRODUCTVERSION@office@` done mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mime-info cp -p mime-info/libreoffice$PRODUCTVERSION.keys $RPM_BUILD_ROOT/%{_datadir}/mime-info/libreoffice.keys @@ -2252,6 +2252,7 @@ update-desktop-database %{_datadir}/applications &> /dev/null || : %changelog * Wed Feb 29 2012 Caolán McNamara - 3.5.1.1-2 - Resolves: rhbz#788045 swriter --help doesn't show help +- Resolves: rhbz#798667 missing .desktop icons * Sun Feb 26 2012 David Tardon - 3.5.1.1-1 - 3.5.1 rc1