[webkitgtk3/f19] Remove glib-compile-schemas handling

Kalev Lember kalev at fedoraproject.org
Mon Jun 3 17:28:34 UTC 2013


commit 0fd1c6ee9309f3254bf2a8a905e911a51009b79d
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 6c4059e..2fcaa90 100644
--- a/webkitgtk3.spec
+++ b/webkitgtk3.spec
@@ -7,7 +7,7 @@
 
 Name:           webkitgtk3
 Version:        2.0.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        GTK+ Web content engine library
 
 Group:          Development/Libraries
@@ -181,15 +181,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
@@ -231,6 +223,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
 
 
 %changelog
+* Mon Jun 03 2013 Kalev Lember <kalevlember at gmail.com> - 2.0.2-2
+- Remove glib-compile-schemas scriptlets: the schemas are no longer installed
+
 * Mon May 13 2013 Tomas Popela <tpopela at redhat.com> - 2.0.2-1
 - Update to 2.0.2
 


More information about the scm-commits mailing list