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
996ffb60c4
commit
5d5ce40b49
@ -1,7 +1,7 @@
|
||||
Summary: Tool for viewing and creating archives
|
||||
Name: file-roller
|
||||
Version: 3.4.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/Archiving
|
||||
URL: http://download.gnome.org/sources/file-roller/
|
||||
@ -79,12 +79,12 @@ update-desktop-database &> /dev/null || :
|
||||
if [ $1 -eq 0 ]; then
|
||||
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
||||
gtk-update-icon-cache -q %{_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 %{name}.lang
|
||||
%doc README COPYING NEWS AUTHORS
|
||||
@ -104,6 +104,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Apr 24 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1-2
|
||||
- Silence glib-compile-schemas output
|
||||
|
||||
* Tue Apr 17 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1-1
|
||||
- Update to 3.4.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user