rpms/international-time/devel international-time.spec,1.1,1.2
Tim Waugh (twaugh)
fedora-extras-commits at redhat.com
Wed Oct 25 10:55:35 UTC 2006
Author: twaugh
Update of /cvs/extras/rpms/international-time/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1389
Modified Files:
international-time.spec
Log Message:
* Wed Oct 25 2006 Tim Waugh <twaugh at redhat.com>
- Update desktop database on installation.
Index: international-time.spec
===================================================================
RCS file: /cvs/extras/rpms/international-time/devel/international-time.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- international-time.spec 20 Oct 2006 17:03:09 -0000 1.1
+++ international-time.spec 25 Oct 2006 10:55:05 -0000 1.2
@@ -48,6 +48,14 @@
%clean
rm -rf %{buildroot}
+%post
+/usr/bin/update-desktop-database &>/dev/null ||:
+
+%postun
+if [ "$1" = "0" ]; then
+ /usr/bin/update-desktop-database &>/dev/null ||:
+fi
+
%files
%defattr(-,root,root,-)
%doc COPYING
@@ -56,6 +64,9 @@
%{_datadir}/applications/*
%changelog
+* Wed Oct 25 2006 Tim Waugh <twaugh at redhat.com>
+- Update desktop database on installation.
+
* Wed Oct 18 2006 Tim Waugh <twaugh at redhat.com> 0.0.2-1
- 0.0.2. More fixes from package review.
More information about the scm-commits
mailing list