[libgnomekbd] fix scriptlet problems

Matthias Clasen mclasen at fedoraproject.org
Tue Jan 25 20:37:10 UTC 2011


commit 88b8226df031bd8786d753b30a7f118d9ec93b6d
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Tue Jan 25 15:36:46 2011 -0500

    fix scriptlet problems

 libgnomekbd.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/libgnomekbd.spec b/libgnomekbd.spec
index 8094bbf..39a2608 100644
--- a/libgnomekbd.spec
+++ b/libgnomekbd.spec
@@ -1,6 +1,6 @@
 Name:           libgnomekbd
 Version:        2.91.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A keyboard configuration library
 
 Group:          System Environment/Libraries
@@ -73,10 +73,11 @@ desktop-file-install --vendor gnome --delete-original       \
 
 %find_lang %{name}
 
+%preun
+%gconf_schema_remove desktop_gnome_peripherals_keyboard_xkb
 
 %post
 /sbin/ldconfig
-%gconf_schema_upgrade desktop_gnome_peripherals_keyboard_xkb
 touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
 glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 
@@ -111,6 +112,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
 
 
 %changelog
+* Tue Jan 25 2011 Matthias Clasen <mclasen at redhat.com> 2.91.5-2
+- Fix scriptlet problems (#650378)
+
 * Mon Jan 10 2011 Matthias Clasen <mclasen at redhat.com> 2.91.5-1
 - Update to 2.91.5
 


More information about the scm-commits mailing list