[gnome-utils] compile gsettings schemas in %posttrans, etc.

Bill Nottingham notting at fedoraproject.org
Thu Feb 3 19:29:28 UTC 2011


commit 4a8f9f7d11eee7455d13ee1364640ba7209bc487
Author: Bill Nottingham <notting at redhat.com>
Date:   Thu Feb 3 14:29:42 2011 -0500

    compile gsettings schemas in %posttrans, etc.

 gnome-utils.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gnome-utils.spec b/gnome-utils.spec
index 05c6005..872e5fe 100644
--- a/gnome-utils.spec
+++ b/gnome-utils.spec
@@ -6,7 +6,7 @@
 
 Name:           gnome-utils
 Version:        2.91.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Epoch:          1
 Summary:        GNOME utility programs
 
@@ -182,10 +182,11 @@ if [ $1 -eq 0 ]; then
   touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
   gtk-update-icon-cache -q %{_datadir}/icons/hicolor >&/dev/null || :
 fi
+glib-compile-schemas /usr/share/glib-2.0/schemas ||:
 
 %posttrans
 gtk-update-icon-cache -q %{_datadir}/icons/hicolor >&/dev/null || :
-
+glib-compile-schemas /usr/share/glib-2.0/schemas ||:
 
 %files -f gnome-utils-2.0.lang
 %defattr(-,root,root,-)
@@ -250,6 +251,9 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor >&/dev/null || :
 %{_mandir}/man1/gnome-system-log.1.gz
 
 %changelog
+* Thu Feb  3 2011 Bill Nottingham <notting at redhat.com> - 1:2.91.3-3
+- compile gsettings schemas
+
 * Wed Feb  2 2011 Matthias Clasen <mclasen at redhat.com> - 1:2.91.3-1
 - Update to 2.91.3
 - Drop space-saving hack


More information about the scm-commits mailing list