Silence glib-compile-schemas output
Redirect it to /dev/null; end users aren't supposed to see the warnings generated by glib-compile-schemas.
This commit is contained in:
parent
fa0b5d887a
commit
e4431903a9
@ -6,7 +6,7 @@
|
||||
|
||||
Name: evince
|
||||
Version: 3.4.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Document viewer
|
||||
|
||||
License: GPLv2+ and GFDL
|
||||
@ -158,11 +158,11 @@ if [ $1 -eq 0 ]; then
|
||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
fi
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null ||:
|
||||
|
||||
%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 ||:
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
@ -223,6 +223,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
||||
%{_libdir}/nautilus/extensions-3.0/libevince-properties-page.so
|
||||
|
||||
%changelog
|
||||
* Tue Apr 24 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.0-2
|
||||
- Silence glib-compile-schemas output
|
||||
|
||||
* Tue Mar 27 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.0-1
|
||||
- Update to 3.4.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user