Fix icon cache update errors

This commit is contained in:
Mat Booth 2014-07-17 13:30:56 +01:00
parent f0edd6dfa6
commit 363d476474

View File

@ -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@redhat.com> - 1:4.4.0-8.1
- Fix icon cache update errors
* Wed Jul 16 2014 Mat Booth <mat.booth@redhat.com> - 1:4.4.0-8
- Update eclipse-build snapshot
- Tighten up deps on asm