[dconf] Add missing glib-compile-schemas scriptlets to the -editor subpackage

Kalev Lember kalev at fedoraproject.org
Thu Sep 26 16:04:06 UTC 2013


commit c8a2c5db2ccb3c7b9054a12efc86c2ffe9fda8d0
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Thu Sep 26 16:02:52 2013 +0200

    Add missing glib-compile-schemas scriptlets to the -editor subpackage

 dconf.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/dconf.spec b/dconf.spec
index b1902a7..4c79769 100644
--- a/dconf.spec
+++ b/dconf.spec
@@ -3,7 +3,7 @@
 
 Name:           dconf
 Version:        0.18.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A configuration system
 
 Group:          System Environment/Base
@@ -79,6 +79,8 @@ done
 
 %postun editor
 if [ $1 -eq 0 ] ; then
+  glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+
   for d in hicolor HighContrast ; do
     touch --no-create %{_datadir}/icons/$d &>/dev/null || :
     gtk-update-icon-cache %{_datadir}/icons/$d &>/dev/null || :
@@ -86,6 +88,8 @@ if [ $1 -eq 0 ] ; then
 fi
 
 %posttrans editor
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+
 for d in hicolor HighContrast ; do
   gtk-update-icon-cache %{_datadir}/icons/$d &>/dev/null || :
 done
@@ -123,6 +127,9 @@ done
 %{_mandir}/man1/dconf-editor.1.gz
 
 %changelog
+* Thu Sep 26 2013 Kalev Lember <kalevlember at gmail.com> - 0.18.0-2
+- Add missing glib-compile-schemas scriptlets to the -editor subpackage
+
 * Tue Sep 24 2013 Kalev Lember <kalevlember at gmail.com> - 0.18.0-1
 - Update to 0.18.0
 


More information about the scm-commits mailing list