rpms/gvfs/devel gvfs.spec,1.171,1.172

Matthias Clasen mclasen at fedoraproject.org
Mon Jan 25 22:11:18 UTC 2010


Author: mclasen

Update of /cvs/pkgs/rpms/gvfs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5429

Modified Files:
	gvfs.spec 
Log Message:
update gio module cache



Index: gvfs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gvfs/devel/gvfs.spec,v
retrieving revision 1.171
retrieving revision 1.172
diff -u -p -r1.171 -r1.172
--- gvfs.spec	25 Jan 2010 14:35:41 -0000	1.171
+++ gvfs.spec	25 Jan 2010 22:11:17 -0000	1.172
@@ -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



More information about the scm-commits mailing list