update gio module cache
This commit is contained in:
parent
3e902627a1
commit
0d2cdc34c6
20
gvfs.spec
20
gvfs.spec
@ -1,7 +1,7 @@
|
||||
Summary: Backends for the gio framework in GLib
|
||||
Name: gvfs
|
||||
Version: 1.5.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.gtk.org
|
||||
@ -169,11 +169,29 @@ rm -rf $RPM_BUILD_ROOT
|
||||
killall -USR1 gvfsd >&/dev/null || :
|
||||
# Update desktop files mime mappings:
|
||||
update-desktop-database &> /dev/null ||:
|
||||
case "$host" in
|
||||
alpha*|ia64*|powerpc64*|ppc64*|s390x*|sparc64*|x86_64*)
|
||||
%{_bindir}/gio-querymodules-64 %{_libdir}/gio/modules
|
||||
;;
|
||||
*)
|
||||
%{_bindir}/gio-querymodules-32 %{_libdir}/gio/modules
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
# Update desktop files mime mappings:
|
||||
update-desktop-database &> /dev/null ||:
|
||||
case "$host" in
|
||||
alpha*|ia64*|powerpc64*|ppc64*|s390x*|sparc64*|x86_64*)
|
||||
%{_bindir}/gio-querymodules-64 %{_libdir}/gio/modules
|
||||
;;
|
||||
*)
|
||||
%{_bindir}/gio-querymodules-32 %{_libdir}/gio/modules
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
# Reload .mount files when single subpackage is installed:
|
||||
%post smb
|
||||
|
Loading…
Reference in New Issue
Block a user