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
This commit is contained in:
parent
b6b34f7f23
commit
1fc2ac4389
13
gvfs.spec
13
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 <kalevlember@gmail.com> - 1.12.1-3
|
||||
- Silence rpm scriptlet output
|
||||
|
||||
* Wed Apr 18 2012 Kalev Lember <kalevlember@gmail.com> - 1.12.1-2
|
||||
- Rebuild again for new libimobiledevice and usbmuxd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user