[gvfs/f19] gvfs-archive: Add the update-desktop-database rpm scriptlets

Kalev Lember kalev at fedoraproject.org
Tue May 21 22:39:11 UTC 2013


commit 47dae570142ea72667cb9a28d335b13967c36184
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Wed May 22 00:35:45 2013 +0200

    gvfs-archive: Add the update-desktop-database rpm scriptlets
    
    https://bugzilla.redhat.com/show_bug.cgi?id=954214

 gvfs.spec |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/gvfs.spec b/gvfs.spec
index 82efecc..fbfebb7 100644
--- a/gvfs.spec
+++ b/gvfs.spec
@@ -1,7 +1,7 @@
 Summary: Backends for the gio framework in GLib
 Name: gvfs
 Version: 1.16.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv3 and LGPLv2+
 Group: System Environment/Libraries
 URL: http://www.gtk.org
@@ -223,8 +223,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 # Reload .mount files when single subpackage is installed:
 %post smb
 killall -USR1 gvfsd >&/dev/null || :
-%post archive
-killall -USR1 gvfsd >&/dev/null || :
 %post gphoto2
 killall -USR1 gvfsd >&/dev/null || :
 %post mtp
@@ -238,6 +236,13 @@ killall -USR1 gvfsd >&/dev/null || :
 killall -USR1 gvfsd >&/dev/null || :
 %endif
 
+%post archive
+update-desktop-database >&/dev/null || :
+killall -USR1 gvfsd >&/dev/null || :
+
+%postun archive
+update-desktop-database >&/dev/null || :
+
 %files -f gvfs.lang
 %doc AUTHORS COPYING COPYING.GPL3 NEWS README
 %dir %{_datadir}/gvfs
@@ -370,6 +375,9 @@ killall -USR1 gvfsd >&/dev/null || :
 %{_datadir}/gvfs/remote-volume-monitors/goa.monitor
 
 %changelog
+* Wed May 22 2013 Kalev Lember <kalevlember at gmail.com> - 1.16.2-2
+- gvfs-archive: Add the update-desktop-database rpm scriptlets (#954214)
+
 * Wed May 22 2013 Kalev Lember <kalevlember at gmail.com> - 1.16.2-1
 - Update to 1.16.2
 


More information about the scm-commits mailing list