gvfs-archive: Add the update-desktop-database rpm scriptlets

https://bugzilla.redhat.com/show_bug.cgi?id=954214
This commit is contained in:
Kalev Lember 2013-05-22 00:35:45 +02:00
parent 05cc0719ca
commit a59a86b966
1 changed files with 11 additions and 3 deletions

View File

@ -3,7 +3,7 @@
Summary: Backends for the gio framework in GLib
Name: gvfs
Version: 1.17.0
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv3 and LGPLv2+
Group: System Environment/Libraries
URL: http://www.gtk.org
@ -225,8 +225,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
@ -240,6 +238,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
@ -372,6 +377,9 @@ killall -USR1 gvfsd >&/dev/null || :
%{_datadir}/gvfs/remote-volume-monitors/goa.monitor
%changelog
* Wed May 22 2013 Kalev Lember <kalevlember@gmail.com> - 1.17.0-2
- gvfs-archive: Add the update-desktop-database rpm scriptlets (#954214)
* Sat May 04 2013 Kalev Lember <kalevlember@gmail.com> - 1.17.0-1
- Update to 1.17.0