From 27b4bedfcad8c428393c81cb8857891dcde4b629 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 24 Apr 2012 16:53:43 +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. --- baobab.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/baobab.spec b/baobab.spec index 53c91d8..29d2bdf 100644 --- a/baobab.spec +++ b/baobab.spec @@ -1,6 +1,6 @@ Name: baobab Version: 3.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A graphical directory tree analyzer Group: Applications/System @@ -50,13 +50,13 @@ touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : 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 || : + 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 @@ -71,6 +71,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 + * Mon Apr 16 2012 Richard Hughes - 3.4.1-1 - Update to 3.4.1