diff --git a/gvfs.spec b/gvfs.spec index 9bcccc2..baf8da1 100644 --- a/gvfs.spec +++ b/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