Don't run update-mime-database in post, we don't ship mime XML

files anymore.
This commit is contained in:
Bastien Nocera 2014-06-27 17:53:05 +02:00
parent 0735fc2922
commit 2f4ea2f930

View File

@ -92,7 +92,6 @@ find ${RPM_BUILD_ROOT} -type f -name "*.a" -exec rm -f {} ';'
%post %post
/sbin/ldconfig /sbin/ldconfig
update-mime-database %{_datadir}/mime/ > /dev/null
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
@ -132,6 +131,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/gnome-shell/search-providers/seahorse-search-provider.ini %{_datadir}/gnome-shell/search-providers/seahorse-search-provider.ini
%changelog %changelog
* Fri Jun 27 2014 Bastien Nocera <bnocera@redhat.com> 3.12.2-2
- Don't run update-mime-database in post, we don't ship mime XML
files anymore.
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.2-2 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild