-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stanislav Brabec schrieb: > Or better configure with --disable-schemas-install > >> According to http://www.gnome.org/projects/gconf/ (Section Application >> developer information), this is known and they tell a workaround there. >> >> Is this the established way to workaround this or is there a "suse way" >> to do this? > > Yes: > > 1) > Never install gconf database to build root. Use > --disable-schemas-install or GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1. > > 2) Use %post > > %post > export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source` > opt/gnome/bin/gconftool-2 --makefile-install-rule > etc/opt/gnome/gconf/schemas/foo.schemas >/dev/null > (one line per each schemas file) > > 3) Don't use %postun. RPM cannot do it correctly: > http://bugzilla.gnome.org/show_bug.cgi?id=306924 > > 4) In file list, never use *.schemas > /etc/opt/gnome/gconf/schemas/foo.schemas > (one line per each schemas file) > It is cosmetic, but prevents upgrading with missing lines in %post. >
Thanks a lot for this instructions, y2pmbuild is currently running and building i686 and x84_64 for 10.0, 10.1 is already finished! Regards, Rauch Christian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFFKnzSayhvFxrDZlkRAgH3AJ9hSQD7pDfhi8/JJ0Bgoyokx04PJACdF7Se q1qRj/7zbFVmBPOITBHruKo= =p5PS -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
