Heads up! Erlang package becomes modularized in Fedora.

Adam Jackson ajax at redhat.com
Mon Apr 12 15:03:56 UTC 2010

On Sat, 2010-04-10 at 16:56 +0400, Peter Lemenkov wrote:

> I did some investigation, and find a way to completely modularize
> whole Erlang package. In a few words - main package consists of purely
> virtual 'erlang' package and a dozens of sub-packages (from
> erlang-appmon to erlang-xmerl - one sub-package for each
> %{_libdir}/erlang/lib/* item). The main virtual package 'erlang'
> depends on every subpackage, so if you prefer to install/upgrade
> erlang by typing "yum install erlang" you won't see any difference.
> What's new is a set of scripts to generate cross-subpackage
> dependencies. The approach for dependency generation is very
> straightforward and simple - with the addition to normal RPM
> dependency generator, each ebin/*.beam file within each sub-package is
> analyzed for imported and exported functions, and they are added (in
> form of erlang(Module:Finction/Arity)) to the list of RPM provides and
> requires.

This sounds great!  Thanks for looking into this.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20100412/a7ca3ae1/attachment.bin 

More information about the devel mailing list