On Tue, 2005-03-15 at 08:42 -0500, Toshio wrote: > I think the intent is to remove the old schema from gconf before > installing the new schema. So I think this %pre script would work:: > %pre > # For GConf apps > if [ "$1" -gt 1]; then Missing space between "1" and "]" :) > export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` > gconftool-2 --makefile-uninstall-rule \ > %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || : > fi > > Is that wrong (or my assumption that we're trying to clean up the old > schema?) If it's good, then maybe the scriptlets in the spectemplates > (fedora-rpmdevtools) should be changed. Based on a brief look, the above would fail if the schema filename has changed (or if the package has been renamed: %{name} is the name of the new package, not old).