s/mozilla-firefox.desktop/firefox.desktop/ (f17+, #736558)
This commit is contained in:
parent
250682f404
commit
567c5ed5e5
@ -1,7 +1,7 @@
|
|||||||
Summary: Shared MIME information database
|
Summary: Shared MIME information database
|
||||||
Name: shared-mime-info
|
Name: shared-mime-info
|
||||||
Version: 0.91
|
Version: 0.91
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://freedesktop.org/Software/shared-mime-info
|
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
|
## translations are already in the xml file installed
|
||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*
|
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
|
%post
|
||||||
# Should fail, as it would mean a problem in the mime database
|
# Should fail, as it would mean a problem in the mime database
|
||||||
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
|
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
|
||||||
@ -80,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 24 2011 Rex Dieter <rdieter@fedoraproject.org> 0.91-5
|
||||||
|
- s/mozilla-firefox.desktop/firefox.desktop/ (f17+, #736558)
|
||||||
|
|
||||||
* Thu Oct 13 2011 Bastien Nocera <bnocera@redhat.com> 0.91-4
|
* Thu Oct 13 2011 Bastien Nocera <bnocera@redhat.com> 0.91-4
|
||||||
- Make Evolution the default calendar (and not Gedit...)
|
- Make Evolution the default calendar (and not Gedit...)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user