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
dc8ad988a0
commit
fcec2f7e94
@ -9,7 +9,7 @@
|
|||||||
Summary: Framework for managing passwords and other secrets
|
Summary: Framework for managing passwords and other secrets
|
||||||
Name: gnome-keyring
|
Name: gnome-keyring
|
||||||
Version: 3.4.1
|
Version: 3.4.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
#VCS: git:git://git.gnome.org/gnome-keyring
|
#VCS: git:git://git.gnome.org/gnome-keyring
|
||||||
@ -91,12 +91,12 @@ update-mime-database %{_datadir}/mime &> /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
|
||||||
|
|
||||||
%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 gnome-keyring.lang
|
%files -f gnome-keyring.lang
|
||||||
@ -122,6 +122,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
|
||||||
|
|
||||||
* 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