Browse Source

dconf:
- move some post/postun scripts to dconf-editor:
- glib-compile-schemas, gtk-update-icon-cache, update-desktop-database

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8584 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke 9 years ago
parent
commit
722cd9ec09
1 changed files with 14 additions and 4 deletions
  1. 14 4
      d/dconf/dconf-vl.spec

+ 14 - 4
d/dconf/dconf-vl.spec

@@ -1,7 +1,7 @@
 # Basic Information
 Name:		dconf
 Version:	0.20.0
-Release:	2%{?_dist_release}
+Release:	3%{?_dist_release}
 License:	LGPL
 Group:		System Environment/Base
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.20/%{name}-%{version}.tar.xz
@@ -78,21 +78,27 @@ dconf-editor により dconf の設定を参照したり変更したりするこ
 
 
 %post
+gio-querymodules %{_libdir}/gio/modules
+
+%post editor
 touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
 gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
 update-desktop-database -q &> /dev/null || :
-gio-querymodules %{_libdir}/gio/modules
 
 %postun 
+if [ $1 -eq 0 ] ; then
+    gio-querymodules %{_libdir}/gio/modules
+fi
+
+%postun editor
 if [ $1 -eq 0 ] ; then
     touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
     gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
     update-desktop-database -q &> /dev/null || :
     glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
-    gio-querymodules %{_libdir}/gio/modules
 fi
 
-%posttrans 
+%posttrans  editor
 glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
 
 
@@ -131,6 +137,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
 
 
 %changelog
+* Wed Jun 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.20.0-3
+- move some post/postun scripts to dconf-editor:
+  - glib-compile-schemas, gtk-update-icon-cache, update-desktop-database
+
 * Mon Jun 16 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.20.0-2
 - split dconf-editor to subpackage.
 - drop libgee dependency(R,BR)