Remove unused update-mime-database calls

This commit is contained in:
Tomas Bzatek 2012-11-23 17:59:11 +01:00
parent c55bb3bcb1
commit 802581165f

View File

@ -8,7 +8,7 @@
Summary: Framework for managing passwords and other secrets
Name: gnome-keyring
Version: 3.6.2
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+ and LGPLv2+
Group: System Environment/Libraries
#VCS: git:git://git.gnome.org/gnome-keyring
@ -85,11 +85,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/devel/*.la
%post
/sbin/ldconfig
update-mime-database %{_datadir}/mime &> /dev/null || :
%postun
/sbin/ldconfig
update-mime-database %{_datadir}/mime &> /dev/null || :
if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
fi
@ -121,6 +119,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
%changelog
* Fri Nov 23 2012 Tomas Bzatek <tbzatek@redhat.com> - 3.6.2-2
- Remove unused update-mime-database calls
* Tue Nov 13 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.2-1
- Update to 3.6.2