[control-center] Don't run update-mime-database in post, we don't ship mime XML

Bastien Nocera hadess at fedoraproject.org
Fri Jun 27 15:49:25 UTC 2014


commit 22a26894d5b570c56bf56fb9b690c4291cbb8236
Author: Bastien Nocera <hadess at hadess.net>
Date:   Fri Jun 27 17:49:27 2014 +0200

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

 control-center.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/control-center.spec b/control-center.spec
index ccafb29..389062d 100644
--- a/control-center.spec
+++ b/control-center.spec
@@ -11,7 +11,7 @@
 Summary: Utilities to configure the GNOME desktop
 Name: control-center
 Version: 3.13.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 Epoch: 1
 License: GPLv2+ and GFDL
 #VCS: git:git://git.gnome.org/gnome-control-center
@@ -170,7 +170,6 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gnome-control-center
 %post
 /sbin/ldconfig
 update-desktop-database &> /dev/null || :
-update-mime-database %{_datadir}/mime &> /dev/null || :
 touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 
 %postun
@@ -216,6 +215,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Fri Jun 27 2014 Bastien Nocera <bnocera at redhat.com> 3.13.3-2
+- Don't run update-mime-database in post, we don't ship mime XML
+  files anymore
+
 * Thu Jun 26 2014 Richard Hughes <rhughes at redhat.com> - 1:3.13.3-1
 - Update to 3.13.3
 


More information about the scm-commits mailing list