diff --git a/eog.spec b/eog.spec index 684d70a..2a7da16 100644 --- a/eog.spec +++ b/eog.spec @@ -11,7 +11,7 @@ Summary: Eye of GNOME image viewer Name: eog Version: 2.7.0 -Release: 2 +Release: 3 URL: http://www.gnome.org Source0: ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/eog/%{name}-%{version}.tar.bz2 License: GPL @@ -60,7 +60,6 @@ rm -r $RPM_BUILD_ROOT/var/scrollkeeper perl -pi -e 's/Categories=Application;Graphics/Categories=Application;Graphics;/' $RPM_BUILD_ROOT%{_datadir}/applications/* desktop-file-install --vendor gnome --delete-original \ - --rebuild-mime-info-cache \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --add-category X-Red-Hat-Extra \ $RPM_BUILD_ROOT%{_datadir}/applications/* @@ -71,6 +70,7 @@ desktop-file-install --vendor gnome --delete-original \ rm -rf $RPM_BUILD_ROOT %post +update-desktop-database %{_datadir}/applications export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` SCHEMAS="eog.schemas" for S in $SCHEMAS; do @@ -90,6 +90,9 @@ done %{_sysconfdir}/gconf/schemas/*.schemas %changelog +* Mon Aug 16 2004 Christopher Aillon 2.7.0-3 +- Use update-desktop-database instead of rebuild-mime-info-cache + * Sun Aug 15 2004 Christopher Aillon 2.7.0-2 - Rebuild MIME info cache