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
c59c17cfc3
commit
089f51072d
@ -1,7 +1,7 @@
|
|||||||
Name: gnome-bluetooth
|
Name: gnome-bluetooth
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 3.4.0
|
Version: 3.4.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Bluetooth graphical utilities
|
Summary: Bluetooth graphical utilities
|
||||||
|
|
||||||
Group: Applications/Communications
|
Group: Applications/Communications
|
||||||
@ -89,10 +89,10 @@ install -m0644 -D %{SOURCE1} $RPM_BUILD_ROOT/lib/udev/rules.d/61-gnome-bluetooth
|
|||||||
cat %{name}.lang >> gnome-bluetooth2.lang
|
cat %{name}.lang >> gnome-bluetooth2.lang
|
||||||
|
|
||||||
%post
|
%post
|
||||||
update-desktop-database -q
|
update-desktop-database &>/dev/null || :
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
if [ "$1" -gt 1 ]; then
|
if [ "$1" -gt 1 ]; then
|
||||||
@ -123,10 +123,10 @@ if [ "$1" -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
update-desktop-database -q
|
update-desktop-database &>/dev/null || :
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/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 || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -178,6 +178,9 @@ fi
|
|||||||
%{_datadir}/gtk-doc
|
%{_datadir}/gtk-doc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 24 2012 Kalev Lember <kalevlember@gmail.com> - 1:3.4.0-2
|
||||||
|
- Silence rpm scriptlet output
|
||||||
|
|
||||||
* Tue Mar 27 2012 Richard Hughes <hughsient@gmail.com> - 1:3.4.0-1
|
* Tue Mar 27 2012 Richard Hughes <hughsient@gmail.com> - 1:3.4.0-1
|
||||||
- Update to 3.4.0
|
- Update to 3.4.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user