From ae5a55ff2aad9c2ef2944e83c6c1d49171a0d66a Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 27 Jun 2014 12:39:34 -0500 Subject: [PATCH] omit needless scriptlet deps, %postun update-mime-database only on removal --- gnome-color-manager.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gnome-color-manager.spec b/gnome-color-manager.spec index 5ac854f..208d9b9 100644 --- a/gnome-color-manager.spec +++ b/gnome-color-manager.spec @@ -1,7 +1,7 @@ Summary: Color management tools for GNOME Name: gnome-color-manager Version: 3.13.1 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ Group: Applications/System URL: http://mail.gnome.org/mailman/listinfo/gnome-color-manager-list @@ -33,9 +33,6 @@ BuildRequires: colord-devel >= 0.1.12 BuildRequires: colord-gtk-devel >= 0.1.22 BuildRequires: itstool -Requires(post): /usr/bin/gtk-update-icon-cache -Requires(postun): /usr/bin/gtk-update-icon-cache - # obsolete sub-package Obsoletes: gnome-color-manager-devel <= 3.1.1 Provides: gnome-color-manager-devel @@ -65,9 +62,9 @@ if [ $1 -eq 0 ]; then touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : + update-mime-database %{_datadir}/mime &> /dev/null || : fi update-desktop-database %{_datadir}/applications &> /dev/null || : -update-mime-database %{_datadir}/mime &> /dev/null || : %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : @@ -94,6 +91,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %{_datadir}/applications/gcm-*.desktop %changelog +* Fri Jun 27 2014 Rex Dieter 3.13.1-5 +- omit needless scriptlet deps, %%postun update-mime-database only on removal + * Fri Jun 27 2014 Bastien Nocera 3.13.1-4 - Don't run update-mime-database in post, we don't ship mime XML files anymore.