[eclipse/eclipse-luna: 5/5] Fix icon cache update errors

Mat Booth mbooth at fedoraproject.org
Thu Jul 17 12:30:50 UTC 2014


commit 363d476474386519be5637f4ddf0fd500cd28d8f
Author: Mat Booth <mat.booth at redhat.com>
Date:   Thu Jul 17 13:30:56 2014 +0100

    Fix icon cache update errors

 eclipse.spec |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/eclipse.spec b/eclipse.spec
index 78136db..82a1199 100644
--- a/eclipse.spec
+++ b/eclipse.spec
@@ -39,7 +39,7 @@ Epoch:                  1
 Summary:        An open, extensible IDE
 Name:           %{?scl_prefix}eclipse
 Version:        %{eclipse_version}
-Release:        8%{?dist}
+Release:        8.1%{?dist}
 License:        EPL
 Group:          Development/Tools
 URL:            http://www.eclipse.org/
@@ -757,15 +757,15 @@ popd
 find $RPM_BUILD_ROOT/%{_libdir}/eclipse -name *.so -exec chmod a+x {} \;
 
 %post platform
-touch --no-create %{_datadir}/icons/hicolor
+touch --no-create /usr/share/icons/hicolor
 if [ -x /usr/bin/gtk-update-icon-cache ]; then
-  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
+  gtk-update-icon-cache -q /usr/share/icons/hicolor
 fi
 
 %postun platform
-touch --no-create %{_datadir}/icons/hicolor
+touch --no-create /usr/share/icons/hicolor
 if [ -x /usr/bin/gtk-update-icon-cache ]; then
-  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
+  gtk-update-icon-cache -q /usr/share/icons/hicolor
 fi
 
 
@@ -1024,6 +1024,9 @@ fi
 %{_libdir}/%{pkg_name}/plugins/org.eclipse.osgi.compatibility.state_*
 
 %changelog
+* Thu Jul 17 2014 Mat Booth <mat.booth at redhat.com> - 1:4.4.0-8.1
+- Fix icon cache update errors
+
 * Wed Jul 16 2014 Mat Booth <mat.booth at redhat.com> - 1:4.4.0-8
 - Update eclipse-build snapshot
 - Tighten up deps on asm


More information about the scm-commits mailing list