From 6f0775a88879fc6dbe7827372225c0412715455d Mon Sep 17 00:00:00 2001 From: openeuler-basic Date: Tue, 14 Jan 2020 09:09:48 +0800 Subject: [PATCH] add post script --- gvfs.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gvfs.spec b/gvfs.spec index 73e543b..f552a63 100644 --- a/gvfs.spec +++ b/gvfs.spec @@ -24,7 +24,7 @@ Name: gvfs Version: 1.40.2 -Release: 3 +Release: 4 Summary: gvfs is a backends for the gio framework in GLib License: GPLv3 and LGPLv2+ and BSD and MPLv2.0 URL: https://wiki.gnome.org/Projects/gvfs @@ -110,6 +110,10 @@ cp -p daemon/trashlib/COPYING COPYING.GPL3 %find_lang gvfs +%post +# Reload .mount files: +killall -USR1 gvfsd >&/dev/null || : + %files %dir %{_datadir}/gvfs %dir %{_datadir}/gvfs/mounts @@ -201,6 +205,9 @@ cp -p daemon/trashlib/COPYING COPYING.GPL3 %{_mandir}/man1/gvfsd-fuse.1* %changelog +* Tue Jan 14 2020 openEuler Buildteam - 1.40.2-4 +- Add post script + * Mon Jan 13 2020 openEuler Buildteam - 1.40.2-3 - Delete redundant info