On Fri, Apr 1, 2016, at 07:45 AM, Tomas Chvatal wrote:

> I would like to ask about possibility to spent some time to sync macros
> between our nice distributions.

Personally I think the path of generating spec files is a better long
term solution.  The spec file language is...not great.  Macros help,
but to make substantial architectural improvements like inferring
metadata from upstream source code, one needs to go beyond that.

Look for example at what Bitbake (used by OpenEmbedded) does:
https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-core/readline/readline.inc

It's a relatively decent mix of declarative and imperative, but most
usefully supports inheritance.  So in a case like this:

https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-gnome/libsecret/libsecret_0.18.4.bb

"inherit gnomebase gtk-doc vala gobject-introspection" is a powerful
model versus the RPM macro approach.

_______________________________________________
Rpm-ecosystem mailing list
[email protected]
http://lists.rpm.org/mailman/listinfo/rpm-ecosystem

Reply via email to