rpms/gcalctool/devel gcalctool.spec,1.2,1.3
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Apr 20 16:03:51 UTC 2006
Author: jkeating
Update of /cvs/dist/rpms/gcalctool/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv31310
Modified Files:
gcalctool.spec
Log Message:
Add preun to clean up schema.
Index: gcalctool.spec
===================================================================
RCS file: /cvs/dist/rpms/gcalctool/devel/gcalctool.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gcalctool.spec 19 Apr 2006 16:07:08 -0000 1.2
+++ gcalctool.spec 20 Apr 2006 16:03:46 -0000 1.3
@@ -1,6 +1,6 @@
Name: gcalctool
Version: 5.7.32
-Release: 4
+Release: 5
Summary: A desktop calculator
Group: Applications/System
@@ -20,6 +20,7 @@
Requires(post): scrollkeeper
Requires(post): GConf2
Requires(postun): scrollkeeper
+Requires(preun): GConf2
Patch0: gcalctool-schemasdir.patch
Patch1: gcalctool-flex-crap.patch
@@ -59,6 +60,12 @@
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gcalctool.schemas > /dev/null
+%preun
+if [ "$1" -eq 0 ]; then
+ export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+ gconftool-2 --makefile-uninstall-rule \
+ %{_sysconfdir}/gconf/schemas/gcalctool.schemas > /dev/null || :
+fi
%postun
scrollkeeper-update
@@ -81,6 +88,9 @@
%changelog
+* Thu Apr 20 2006 Jesse Keating <jkeating at redhat.com> - 5.7.32-5
+- Add postun to clean up gconf schema.
+
* Wed Apr 19 2006 Jeremy Katz <katzj at redhat.com> - 5.7.32-4
- fix gconf scriptlet
More information about the fedora-cvs-commits
mailing list