On Sat, 13 Apr 2002, Alexander Skwar wrote:
> gnome-applets ##################################################
> warning: failed to load external entity
>"/etc/gconf/schemas/{battstat*,cdplayer*,charpick*,drivemount*,geyes*,gkb*,gtik*,gweather*,mini-commander*,"
>
>�/etc/gconf/schemas/{battstat*,cdplayer*,charpick*,drivemount*,geyes*,gkb*,gtik*,gweather*,mini-commander*,�
> konnte nicht ge�ffnet werden: Datei oder Verzeichnis nicht gefunden
> warning: failed to load external entity "modemlights*,panel-menu*}"
> �modemlights*,panel-menu*}� konnte nicht ge�ffnet werden: Datei oder Verzeichnis
>nicht gefunden
> Fehler: execution of %post scriptlet from gnome-applets-1.98.0-1mdk failed, exit
>status 1
>
> [askwar@teich askwar]$ rpm -q gnome-applets
> gnome-applets-1.98.0-1mdk
Hi fcrozat,
Sounds like gnome-applets.spec has genuine problem in %%post here:
the shell expension doesn't work correctly. Attached a patch that
hopefully fix it by avoiding shell expension completely. The source
of problem seems to be an extra space; anyway I haven't tested it
thoroughly so not sure about that yet.
Abel
--
Abel Cheung
GPG Key: (0xC67186FF) http://deaddog.org/gpg.asc
--- gnome-applets.spec.orig 2002-04-10 21:34:38.000000000 +0800
+++ gnome-applets.spec 2002-04-13 13:48:36.000000000 +0800
@@ -47,17 +47,14 @@
%{find_lang} %{name}-2.0 --with-gnome --all-name
-rm -f $RPM_BUILD_ROOT%{_datadir}/applets/Utility/gnotes_applet.desktop
-rm -f $RPM_BUILD_ROOT%{_datadir}/applets/Utility/bug-applet.desktop
-
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
if [ -x /usr/bin/scrollkeeper-update ]; then /usr/bin/scrollkeeper-update -q || true
; fi
-for SCHEMA in
%{_sysconfdir}/gconf/schemas/{battstat*,cdplayer*,charpick*,drivemount*,geyes*,gkb*,gtik*,gweather*,mini-commander*,
modemlights*,panel-menu*} ; do
- GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2
--makefile-install-rule $SCHEMA > /dev/null
+for SCHEMA in battstat cdplayer charpick drivemount geyes gkb gtik gweather
+mini-commander modemlights panel-menu; do
+ GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2
+--makefile-install-rule %{_sysconfdir}/gconf/schemas/${SCHEMA}.schemas > /dev/null
done
%postun