From 9472e15c6bc011e1ea117836c9a843fbe74c7a7b Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 21 Jan 2013 07:47:02 +0100 Subject: [PATCH] Resolves: rhbz#901346 do not install 512x512 icons --- libreoffice.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libreoffice.spec b/libreoffice.spec index e2eb095..37775ab 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -43,7 +43,7 @@ Summary: Free Software Productivity Suite Name: libreoffice Epoch: 1 Version: %{libo_version}.1 -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.documentfoundation.org/develop @@ -1293,7 +1293,8 @@ pushd sysui/output/usr/share/ rm -rf icons/gnome applications application-registry #relocate the rest of them -for icon in `find icons -type f`; do +# rhbz#901346 512x512 icons are not used by anything +for icon in `find icons -path '*/512x512' -prune -o -type f -print`; do mkdir -p $RPM_BUILD_ROOT/%{_datadir}/`dirname $icon` cp -p $icon $RPM_BUILD_ROOT/%{_datadir}/`echo $icon | sed -e s@office$ICONVERSION@office@ | sed -e s@office$PRODUCTVERSION@office@` done @@ -2051,6 +2052,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || : %endif %changelog +* Mon Jan 21 2013 David Tardon - 1:4.0.0.1-2 +- Resolves: rhbz#901346 do not install 512x512 icons + * Tue Jan 15 2013 David Tardon - 1:4.0.0.1-1 - 4.0.0 rc1