From 5d5ce40b4966f837c7ae5c9b9f28b4f28c81218d Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 24 Apr 2012 17:24:45 +0300 Subject: [PATCH] Silence glib-compile-schemas output Redirect it to /dev/null; end users aren't supposed to see the warnings generated by glib-compile-schemas. --- file-roller.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/file-roller.spec b/file-roller.spec index ffee1c7..faa8721 100644 --- a/file-roller.spec +++ b/file-roller.spec @@ -1,7 +1,7 @@ Summary: Tool for viewing and creating archives Name: file-roller Version: 3.4.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: Applications/Archiving URL: http://download.gnome.org/sources/file-roller/ @@ -79,12 +79,12 @@ update-desktop-database &> /dev/null || : if [ $1 -eq 0 ]; then touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null || : - glib-compile-schemas %{_datadir}/glib-2.0/schemas || : + glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -glib-compile-schemas %{_datadir}/glib-2.0/schemas || : +glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %files -f %{name}.lang %doc README COPYING NEWS AUTHORS @@ -104,6 +104,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas || : %changelog +* Tue Apr 24 2012 Kalev Lember - 3.4.1-2 +- Silence glib-compile-schemas output + * Tue Apr 17 2012 Kalev Lember - 3.4.1-1 - Update to 3.4.1