From bb8afdc79fcf0e5e714ccf63f38e650c9031e0b2 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 18 Apr 2012 00:08:33 +0300 Subject: [PATCH] Silence glib-compile-schemas scriplets ... by redirecting the output to /dev/null. http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema --- gnome-shell.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnome-shell.spec b/gnome-shell.spec index 1e4b2bf..630a722 100644 --- a/gnome-shell.spec +++ b/gnome-shell.spec @@ -1,6 +1,6 @@ Name: gnome-shell Version: 3.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Window management and application launching for GNOME Group: User Interface/Desktops @@ -115,10 +115,10 @@ chrpath -r %{_libdir}/gnome-bluetooth $RPM_BUILD_ROOT%{_libdir}/gnome-shell/libg %endif %preun -glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas ||: +glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas &> /dev/null ||: %posttrans -glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas ||: +glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas &> /dev/null ||: %files -f %{name}.lang %doc COPYING README @@ -147,6 +147,9 @@ glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas ||: %exclude %{_datadir}/gtk-doc %changelog +* Wed Apr 18 2012 Kalev Lember - 3.4.1-2 +- Silence glib-compile-schemas scriplets + * Wed Apr 18 2012 Kalev Lember - 3.4.1-1 - Update to 3.4.1