rpms/osmo/F-9 osmo.spec,1.6,1.7

Debarshi Ray (rishi) fedora-extras-commits at redhat.com
Sun Jul 27 18:20:09 UTC 2008


Author: rishi

Update of /cvs/pkgs/rpms/osmo/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9055

Modified Files:
	osmo.spec 
Log Message:
* Sun Jul 27 2008 Debarshi Ray <rishi at fedoraproject.org> - 0.2.2-2
- Added post and postun scriptlets to update Gtk icon cache.



Index: osmo.spec
===================================================================
RCS file: /cvs/pkgs/rpms/osmo/F-9/osmo.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- osmo.spec	27 Jul 2008 16:47:45 -0000	1.6
+++ osmo.spec	27 Jul 2008 18:19:38 -0000	1.7
@@ -2,7 +2,7 @@
 Summary(pl):	Osobisty organizer
 Name:		osmo
 Version:	0.2.2
-Release:	1%{?dist}
+Release:	2%{?dist}
 License:	GPLv2+
 Group:		Applications/Productivity
 URL:		http://clay.ll.pl/osmo/
@@ -72,6 +72,18 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc AUTHORS
@@ -87,6 +99,9 @@
 %{_mandir}/man1/%{name}.1*
 
 %changelog
+* Sun Jul 27 2008 Debarshi Ray <rishi at fedoraproject.org> - 0.2.2-2
+- Added post and postun scriptlets to update Gtk icon cache.
+
 * Sun Jul 27 2008 Debarshi Ray <rishi at fedoraproject.org> - 0.2.2-1
 - Version bump to 0.2.2.
 - Added 'Requires: tzdata' and fixed the sources since libical does not provide




More information about the fedora-extras-commits mailing list