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:52:19 +02:00
parent 1614f0a525
commit 3647d9b95c

View File

@ -1,7 +1,7 @@
Summary: Color management tools for GNOME
Name: gnome-color-manager
Version: 3.13.1
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2+
Group: Applications/System
URL: http://mail.gnome.org/mailman/listinfo/gnome-color-manager-list
@ -59,7 +59,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
update-desktop-database %{_datadir}/applications &> /dev/null || :
update-mime-database %{_datadir}/mime &> /dev/null || :
%postun
if [ $1 -eq 0 ]; then
@ -95,6 +94,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/applications/gcm-*.desktop
%changelog
* Fri Jun 27 2014 Bastien Nocera <bnocera@redhat.com> 3.13.1-4
- Don't run update-mime-database in post, we don't ship mime XML
files anymore.
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild