[Fedora-packaging] Putting the new GConf Schema Guidelines into effect

Toshio Kuratomi a.badger at gmail.com
Fri Jun 12 14:43:27 UTC 2009


Hi guys,

The new GConf Schema Guidelines (
https://fedoraproject.org/wiki/GConf_Scriptlets_%28draft%29 ) have been
approved by FPC and ratified by FESCo.  In order to put them into effect
we need to get two files installed by some package.

* The /etc/rpm/macros.gconf file holds the rpm macros that hide the
implementation details of installing GConf schema.  These need to be
present when the rpm's of GConf using packages are built.
* The /var/lib/rpm-state/gconf directory holds temporary files that keep
state for GConf schema between the %pre and %post stages of the rpm
transaction.  This needs to be available at package install time.

To handle the macros file I think we should add them to
redhat-rpm-config.  Jon, is that fine with you?

To handle the state directory, I think GConf2 should own:
  %dir %{_localstatedir}/lib/rpm-state/gconf

Since nothing currently owns /var/lib/rpm-state, we probably want it
(and anything else that uses the directory in the future) to own:
  %dir %{_localstatedir}/lib/rpm-state
as well.

Does this seem like a good plan to everyone?  I can submit bugzilla
reports to track the changes going into packages and update the
Guidelines for the Fedora Releases where this feature becomes available
if this is good.

Also, FESCo asked if there was a plan to mass update all the packages.
Do you guys want to have that happen?  I told FESCo that the old way of
writing GConf install scripts was fine.  Just a bit slower and with more
text to write into every spec file.

-Toshio

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/packaging/attachments/20090612/42a83b1d/attachment.bin 


More information about the packaging mailing list