[totem: 2/2] Update gsettings schema scriptlet
Christopher Aillon
caillon at fedoraproject.org
Sun May 8 03:16:00 UTC 2011
commit 2e2d60b098f872e273ac824649c6d88f883197ff
Author: Christopher Aillon <caillon at redhat.com>
Date: Sat May 7 20:15:40 2011 -0700
Update gsettings schema scriptlet
http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema
totem.spec | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/totem.spec b/totem.spec
index 44c98fa..b1b30c4 100644
--- a/totem.spec
+++ b/totem.spec
@@ -1,7 +1,7 @@
Summary: Movie player for GNOME
Name: totem
Version: 3.0.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Epoch: 1
License: GPLv2+ with exceptions
Group: Applications/Multimedia
@@ -210,7 +210,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%post
update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%pre
@@ -219,11 +218,13 @@ update-desktop-database &> /dev/null || :
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
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 &> /dev/null || :
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+
%files -f %{name}.lang
%defattr(-,root,root,-)
@@ -309,6 +310,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_libdir}/totem/plugins/publish
%changelog
+* Sat May 07 2011 Christopher Aillon <caillon at redhat.com> - 1:3.0.1-2
+- Update gsettings schema scriptlet
+
* Tue Apr 26 2011 Bastien Nocera <bnocera at redhat.com> 3.0.1-1
- Update to 3.0.1
More information about the scm-commits
mailing list