From 97e8757e94bb6ef44795884550ea29654e7af501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Thu, 30 Aug 2012 10:29:45 +0200 Subject: [PATCH] Run glib-compile-schemas in %post scriplet (rh #852792) --- network-manager-applet.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/network-manager-applet.spec b/network-manager-applet.spec index cb7c881..070fe8a 100644 --- a/network-manager-applet.spec +++ b/network-manager-applet.spec @@ -11,7 +11,7 @@ Name: network-manager-applet Summary: A network control and status applet for NetworkManager Version: 0.9.7.0 -Release: 1%{snapshot}%{?dist} +Release: 2%{snapshot}%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gnome.org/projects/NetworkManager/ @@ -137,17 +137,18 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/nm-connection-edit %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : +glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || : fi +glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || : +glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : %post -n nm-connection-editor @@ -219,6 +220,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_libdir}/libnm-gtk.so %changelog +* Thu Aug 30 2012 Jiří Klimeš - 0.9.7.0-2.git20120820 +- run glib-compile-schemas in %post scriplet (rh #852792) + * Tue Aug 21 2012 Dan Winship - 0.9.7.0-1.git20120820 - Update to 0.9.7.0 snapshot