rpms/ibus-chewing/devel ibus-chewing.spec,1.10,1.11
Lubomir Rintel
lkundrak at fedoraproject.org
Sun Mar 22 14:11:42 UTC 2009
Author: lkundrak
Update of /cvs/pkgs/rpms/ibus-chewing/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9502
Modified Files:
ibus-chewing.spec
Log Message:
* Sun Mar 22 2009 Lubomir Rintel <lkundrak at v3.sk> - 1.0.3.20090311-2
- Properly reinstall the schema when updating from 1.0.2.20090303-1 or older
Index: ibus-chewing.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ibus-chewing/devel/ibus-chewing.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ibus-chewing.spec 12 Mar 2009 05:03:24 -0000 1.10
+++ ibus-chewing.spec 22 Mar 2009 14:11:10 -0000 1.11
@@ -1,6 +1,6 @@
Name: ibus-chewing
Version: 1.0.3.20090311
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: The Chewing engine for IBus input platform
License: GPLv2+
Group: System Environment/Libraries
@@ -45,8 +45,13 @@
%pre
if [ "$1" -gt 1 ] ; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-gconftool-2 --makefile-uninstall-rule \
-%{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
+[ -r %{_sysconfdir}/gconf/schemas/%{name}.schemas ] &&
+ gconftool-2 --makefile-uninstall-rule \
+ %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
+# Upgrading 1.0.2.20090302-1.fc11 or older?
+[ -r %{_sysconfdir}/gconf/schemas/%{name}.schema ] &&
+ gconftool-2 --makefile-uninstall-rule \
+ %{_sysconfdir}/gconf/schemas/%{name}.schema >/dev/null || :
fi
%post
@@ -73,6 +78,9 @@
%config(noreplace) %{_sysconfdir}/gconf/schemas/%{name}.schemas
%changelog
+* Sun Mar 22 2009 Lubomir Rintel <lkundrak at v3.sk> - 1.0.3.20090311-2
+- Properly reinstall the schema when updating from 1.0.2.20090303-1 or older
+
* Wed Mar 11 2009 Ding-Yi Chen <dchen at redhat.com> - 1.0.3.20090311-1
- IBus Google issue 305: ibus-chewing.schema -> ibus-chewing.schemas
- IBus Google issue 307: hardcoded chewing datadir
More information about the scm-commits
mailing list