[Fedora-packaging] OCaml library packaging - no-arch for non-devel?

Richard W.M. Jones rjones at redhat.com
Thu Aug 7 18:35:43 UTC 2008


On Thu, Aug 07, 2008 at 02:05:41PM -0400, Tom spot Callaway wrote:
> On Thu, 2008-08-07 at 18:55 +0100, Richard W.M. Jones wrote:
> > If you can suggest a way to write a spec file so that the main package
> > is noarch and subpackages are arch-dependent, please let us know.
> 
> Not really possible without having the buildsystem do multiple passes
> (like kernel), which we really want to avoid.

That's right, I knew there was another reason for this :-)

This all came up when we got the original guidelines approved.  I even
built bytecode packages of some library on x86 & ppc to prove that the
bytecode files really are identical.

One way might be to move all the bytecode files into a subpackage
(which is noarch) and have the main package (which would now be pretty
much empty) 'Require' it.

We don't want to break the ability to do 'yum install ocaml-foo ;
ocaml ; #require "foo"'

Rich.

-- 
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.
http://et.redhat.com/~rjones/virt-top




More information about the Fedora-packaging mailing list