From 06909f4923e46b6d907b53c8a272e826440e6ae7 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Apr 24 2012 17:09:26 +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/vinagre.spec b/vinagre.spec index a195374..695a9b0 100644 --- a/vinagre.spec +++ b/vinagre.spec @@ -4,7 +4,7 @@ Name: vinagre Version: 3.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: VNC client for GNOME Group: Applications/System @@ -98,14 +98,14 @@ touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : update-desktop-database &> /dev/null || : update-mime-database %{_datadir}/mime &> /dev/null || : if [ $1 -eq 0 ]; then - touch --no-create %{_datadir}/icons/hicolor &>/dev/null + 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 || : +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : %files -f vinagre.lang %{_bindir}/vinagre @@ -128,6 +128,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas || : %changelog +* Tue Apr 24 2012 Kalev Lember - 3.4.1-2 +- Silence rpm scriptlet output + * Tue Apr 17 2012 Kalev Lember - 3.4.1-1 - Update to 3.4.1 - Dropped upstreamed translation patch