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
f372183bcb
commit
3332e7a956
@ -11,7 +11,7 @@
|
|||||||
Summary: Process and resource monitor
|
Summary: Process and resource monitor
|
||||||
Name: gnome-system-monitor
|
Name: gnome-system-monitor
|
||||||
Version: 3.4.1
|
Version: 3.4.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://www.gnome.org/
|
URL: http://www.gnome.org/
|
||||||
@ -64,11 +64,11 @@ rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
|
|||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
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
|
||||||
%doc AUTHORS NEWS COPYING README
|
%doc AUTHORS NEWS COPYING README
|
||||||
@ -81,6 +81,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 rpm scriptlet output
|
||||||
|
|
||||||
* Tue Apr 17 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1-1
|
* Tue Apr 17 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1-1
|
||||||
- Update to 3.4.1
|
- Update to 3.4.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user