omit needless scriptlet deps, %postun update-mime-database only on removal
This commit is contained in:
parent
3647d9b95c
commit
ae5a55ff2a
@ -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 <rdieter@fedoraproject.org> 3.13.1-5
|
||||
- omit needless scriptlet deps, %%postun update-mime-database only on removal
|
||||
|
||||
* 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.
|
||||
|
Loading…
Reference in New Issue
Block a user