From 4d1128dc2d07f39e2331d1dad75b88d351b71951 Mon Sep 17 00:00:00 2001
From: Kalev Lember <kalevlember@gmail.com>
Date: Fri, 1 May 2015 20:06:26 +0200
Subject: [PATCH] Add glib-compile-schemas rpm scripts for
 screenshot-window-sizer

---
 gnome-shell-extensions.spec | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/gnome-shell-extensions.spec b/gnome-shell-extensions.spec
index 44da970..1e5bfc4 100644
--- a/gnome-shell-extensions.spec
+++ b/gnome-shell-extensions.spec
@@ -6,7 +6,7 @@
 
 Name:           gnome-shell-extensions
 Version:        3.17.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Modify and extend GNOME Shell functionality and behavior
 
 Group:          User Interface/Desktops
@@ -331,6 +331,15 @@ fi
 /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas/ &>/dev/null || :
 
 
+%postun -n %{pkg_prefix}-screenshot-window-sizer
+if [ $1 -eq 0 ]; then
+  /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas/ &>/dev/null || :
+fi
+
+%posttrans -n %{pkg_prefix}-screenshot-window-sizer
+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas/ &>/dev/null || :
+
+
 %postun -n %{pkg_prefix}-user-theme
 if [ $1 -eq 0 ]; then
   /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas/ &>/dev/null || :
@@ -350,6 +359,9 @@ fi
 
 
 %changelog
+* Fri May 01 2015 Kalev Lember <kalevlember@gmail.com> - 3.17.1-2
+- Add glib-compile-schemas rpm scripts for screenshot-window-sizer
+
 * Thu Apr 30 2015 Florian Müllner <fmuellner@redhat.com> - 3.17.1-1
 - Update to 3.17.1