From 0c0ed22c8f44ce4f61168d80e2aa8a4374ac4219 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Apr 24 2012 15:42:33 +0000 Subject: Silence rpm scriptlet output Redirect it to /dev/null; end users aren't supposed to see the warnings generated by e.g. glib-compile-schemas. http://fedoraproject.org/wiki/Packaging:ScriptletSnippets --- diff --git a/gucharmap.spec b/gucharmap.spec index 486a740..78ad54c 100644 --- a/gucharmap.spec +++ b/gucharmap.spec @@ -4,7 +4,7 @@ Name: gucharmap Version: 3.4.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Unicode character picker and font browser Group: Applications/System @@ -76,12 +76,12 @@ update-desktop-database &> /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 gucharmap.lang %doc AUTHORS COPYING NEWS README @@ -102,6 +102,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas || : %changelog +* Tue Apr 24 2012 Kalev Lember - 3.4.1.1-2 +- Silence rpm scriptlet output + * Tue Apr 17 2012 Kalev Lember - 3.4.1.1-1 - Update to 3.4.1.1