Update scriptlets per packaging guidelines

http://fedoraproject.org/wiki/Packaging:ScriptletSnippets
This commit is contained in:
Christopher Aillon 2011-05-06 15:40:35 -07:00
parent 951d0fe89e
commit 22b1e0bcdf

View File

@ -6,7 +6,7 @@
Name: brasero
Version: 3.0.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Gnome CD/DVD burning application
Group: Applications/Multimedia
License: GPLv2+
@ -151,8 +151,8 @@ update-desktop-database &> /dev/null ||:
if [ $1 -eq 0 ]; then
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null|| :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
%postun libs -p /sbin/ldconfig
@ -160,7 +160,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
%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 || :
%pre
@ -206,6 +206,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
%changelog
* Fri May 6 2011 Christopher Aillon <caillon@redhat.com> - 3.0.0-1
- Update scriptlets per packaging guidelines
* Mon Apr 4 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.0-1
- Update to 3.0.0