diff --git a/international-time.spec b/international-time.spec index b56aa7b..896d528 100644 --- a/international-time.spec +++ b/international-time.spec @@ -48,6 +48,14 @@ desktop-file-install --vendor fedora \ %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 @@ rm -rf %{buildroot} %{_datadir}/applications/* %changelog +* Wed Oct 25 2006 Tim Waugh +- Update desktop database on installation. + * Wed Oct 18 2006 Tim Waugh 0.0.2-1 - 0.0.2. More fixes from package review.