[file-roller/f17] Silence glib-compile-schemas output

Kalev Lember kalev at fedoraproject.org
Tue Apr 24 14:25:16 UTC 2012


commit fc6e8582cdbcd591f6045716222b4bc335554f66
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Tue Apr 24 17:24:45 2012 +0300

    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 files 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 <kalevlember at gmail.com> - 3.4.1-2
+- Silence glib-compile-schemas output
+
 * Tue Apr 17 2012 Kalev Lember <kalevlember at gmail.com> - 3.4.1-1
 - Update to 3.4.1
 


More information about the scm-commits mailing list