[libgda/f18] Add icon cache scriptlets
Kalev Lember
kalev at fedoraproject.org
Mon Oct 22 21:26:27 UTC 2012
commit c31c0b9068aa6f1674a12c9eb39617bdfa168d75
Author: Kalev Lember <kalevlember at gmail.com>
Date: Mon Oct 22 23:17:33 2012 +0200
Add icon cache scriptlets
libgda.spec | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/libgda.spec b/libgda.spec
index 0e6b0a3..1685983 100644
--- a/libgda.spec
+++ b/libgda.spec
@@ -220,6 +220,18 @@ rm %{buildroot}/%{_sysconfdir}/%{name}-%{apiver}/sales_test.db
%postun -p /sbin/ldconfig
%postun ui -p /sbin/ldconfig
+%post tools
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun tools
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans tools
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
%files -f libgda-5.0.lang
%doc AUTHORS COPYING ChangeLog README NEWS
@@ -342,6 +354,7 @@ rm %{buildroot}/%{_sysconfdir}/%{name}-%{apiver}/sales_test.db
- Build without scrollkeeper support
- Properly obsolete subpackages that got removed in v4->v5 transition
- Fix some rpm directory ownership issues
+- Add icon cache scriptlets
* Sun Oct 21 2012 Haïkel Guémar <hguemar at fedoraproject.org> - 5.1.1-1
- upstream 5.1.1 based on libgda5 review (RHBZ #788569)
More information about the scm-commits
mailing list