From 1fc2ac4389bf45c01ecf19c5cce81db9af033562 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Apr 24 2012 15:46:37 +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/gvfs.spec b/gvfs.spec index 77dd1d7..0be41a7 100644 --- a/gvfs.spec +++ b/gvfs.spec @@ -1,7 +1,7 @@ Summary: Backends for the gio framework in GLib Name: gvfs Version: 1.12.1 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.gtk.org @@ -177,18 +177,18 @@ rm $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.la # Reload .mount files: killall -USR1 gvfsd >&/dev/null || : update-desktop-database &> /dev/null || : -gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules || : +gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules &> /dev/null || : %postun /sbin/ldconfig update-desktop-database &> /dev/null ||: -gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules || : +gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules &> /dev/null || : if [ $1 -eq 0 ] ; then - glib-compile-schemas %{_datadir}/glib-2.0/schemas || : + glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : fi %posttrans -glib-compile-schemas %{_datadir}/glib-2.0/schemas || : +glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : # Reload .mount files when single subpackage is installed: @@ -318,6 +318,9 @@ killall -USR1 gvfsd >&/dev/null || : %{_datadir}/gvfs/mounts/afp-browse.mount %changelog +* Tue Apr 24 2012 Kalev Lember - 1.12.1-3 +- Silence rpm scriptlet output + * Wed Apr 18 2012 Kalev Lember - 1.12.1-2 - Rebuild again for new libimobiledevice and usbmuxd