[webkitgtk3] Remove glib-compile-schemas handling

Kalev Lember kalev at fedoraproject.org
Mon Jun 3 14:34:38 UTC 2013


commit 97e3a5fb0db4638d80f122fc4a83007e2fce881f
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Mon Jun 3 11:53:12 2013 +0200

    Remove glib-compile-schemas handling
    
    The scriptlets are no longer needed as the schemas itself are gone.

 webkitgtk3.spec |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)
---
diff --git a/webkitgtk3.spec b/webkitgtk3.spec
index 98a0574..138bd6d 100644
--- a/webkitgtk3.spec
+++ b/webkitgtk3.spec
@@ -7,7 +7,7 @@
 
 Name:           webkitgtk3
 Version:        2.1.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        GTK+ Web content engine library
 
 Group:          Development/Libraries
@@ -171,15 +171,7 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete
 
 
 %post -p /sbin/ldconfig
-
-%postun
-/sbin/ldconfig
-if [ $1 -eq 0 ] ; then
-    glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
-fi
-
-%posttrans
-glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
+%postun -p /sbin/ldconfig
 
 
 %files -f WebKitGTK-3.0.lang
@@ -221,6 +213,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
 
 
 %changelog
+* Mon Jun 03 2013 Kalev Lember <kalevlember at gmail.com> - 2.1.1-2
+- Remove glib-compile-schemas scriptlets: the schemas are no longer installed
+
 * Mon Jun 3 2013 Tomas Popela <tpopela at redhat.com> - 2.1.1-1
 - Update to 2.1.1
 - Drop unused patches


More information about the scm-commits mailing list