kalev pushed to gnome-shell-extensions (f22). "Add glib-compile-schemas rpm scripts for screenshot-window-sizer"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri May 1 18:35:44 UTC 2015


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


diff --git a/gnome-shell-extensions.spec b/gnome-shell-extensions.spec
index 46abdb8..f3cb848 100644
--- a/gnome-shell-extensions.spec
+++ b/gnome-shell-extensions.spec
@@ -6,7 +6,7 @@
 
 Name:           gnome-shell-extensions
 Version:        3.16.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 at gmail.com> - 3.16.1-2
+- Add glib-compile-schemas rpm scripts for screenshot-window-sizer
+
 * Tue Apr 14 2015 Florian Müllner <fmuellner at redhat.com> - 3.16.1-1
 - Update to 3.16.1
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/gnome-shell-extensions.git/commit/?h=f22&id=df58dbb4c84e0ec978a0f5e6e7e161c6d19dc20a


More information about the scm-commits mailing list