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
68657cf7ee
commit
bd73ff319c
9
gcr.spec
9
gcr.spec
@ -1,6 +1,6 @@
|
|||||||
Name: gcr
|
Name: gcr
|
||||||
Version: 3.4.1
|
Version: 3.4.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A library for bits of crypto UI and parsing
|
Summary: A library for bits of crypto UI and parsing
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -64,7 +64,7 @@ update-desktop-database &> /dev/null || :
|
|||||||
if [ $1 -eq 0 ]; then
|
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 || :
|
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
|
fi
|
||||||
|
|
||||||
|
|
||||||
@ -76,7 +76,7 @@ update-desktop-database &> /dev/null || :
|
|||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
gtk-update-icon-cache %{_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 || :
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
@ -117,6 +117,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 24 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1-2
|
||||||
|
- Silence glib-compile-schemas output
|
||||||
|
|
||||||
* Mon Apr 16 2012 Richard Hughes <hughsient@gmail.com> - 3.4.1-1
|
* Mon Apr 16 2012 Richard Hughes <hughsient@gmail.com> - 3.4.1-1
|
||||||
- Update to 3.4.1
|
- Update to 3.4.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user