On 04/23/2013 10:29 AM, Matwey V. Kornilov wrote:
Nanuk Krinner wrote:
http://fedoraproject.org/wiki/User:Peter/Erlang_Packaging_Guidelines says: "Header files for erlang modules must be bundled with main package (not in *-devel). They are very often used by system administrators right from the REPL console."
This story is mostly about -records (kind of structures in C). -records are syntax sugar and converted to tuples at compile-time [1]. There is also no way to know at runtime, whether this tuple is actually tuple or it is a - record. But If you want pretty-printing of output at runtime in erlang-shell (or you want to call a function which want -record at input) you have to have .hrl and to use rr("my_header.hrl").
I understand that this sounds little strange not to put headers into -devel package.
As long as we communicate that in the spec file, I guess Factory review won't have issues with that. So what about the -src sub-packages, do we actually need to ship them at all? If not, I'd just drop that. -- With kind regards, Sascha Peilicke SUSE Linux GmbH, Maxfeldstr. 5, D-90409 Nuernberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org