diff --git a/shared-mime-info.spec b/shared-mime-info.spec index 0e5ba2a..281575e 100644 --- a/shared-mime-info.spec +++ b/shared-mime-info.spec @@ -1,7 +1,7 @@ Summary: Shared MIME information database Name: shared-mime-info Version: 0.91 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ Group: System Environment/Base URL: http://freedesktop.org/Software/shared-mime-info @@ -62,6 +62,13 @@ cat %SOURCE4 >> $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list ## translations are already in the xml file installed rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/* +%if 0%{?fedora} > 16 +# f17+ mozilla-firefox.desktop renamed to firefox.desktop (#736558) +sed -i -e 's|mozilla-firefox.desktop|firefox.desktop|'\ + $RPM_BUILD_ROOT%{_datadir}/applications/defaults.list +%endif + + %post # Should fail, as it would mean a problem in the mime database %{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null @@ -80,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man*/* %changelog +* Mon Oct 24 2011 Rex Dieter 0.91-5 +- s/mozilla-firefox.desktop/firefox.desktop/ (f17+, #736558) + * Thu Oct 13 2011 Bastien Nocera 0.91-4 - Make Evolution the default calendar (and not Gedit...)