[Fedora-packaging] New draft packaging guidelines for OCaml

Richard W.M. Jones rjones at redhat.com
Sat Mar 1 15:58:15 UTC 2008

On Sat, Mar 01, 2008 at 04:48:02PM +0100, Hans de Goede wrote:
> Richard W.M. Jones wrote:
>>  - camlp4/camlp5 syntax extensions are a bit different from a
>>    distribution point of view.  They usually don't need a -devel
>>    package, and they require *.cmo files to be distributed.
>>    And sometimes they should be noarch.
>>    https://bugzilla.redhat.com/show_bug.cgi?id=435431
> Erm I don't see any .cmo files in the filelist for this one?

This one is a bit different from the other two syntax extensions.

He's building a standalone preprocessor (/usr/bin/deriving) using an
undocumented[1] feature of camlp4.  I don't know if this is just his
personal preference or if there's some reason behind it.

Most camlp4 & camlp5 extensions are distributed as '*.cmo' files,
usually 'pa_*.cmo' where 'pa' stands for parser, and they get
dynamically loaded into the rest of camlp4 at runtime.


[1] http://stuff.mit.edu/afs/sipb/project/ocaml/src/current/camlp4/Camlp4Bin.ml
Well, all of the new camlp4 is undocumented, just this one even less.

Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.

More information about the Fedora-packaging mailing list