Le 2019-12-16 12:46, Petr Viktorin a écrit :
> Also, "%pyfile" would introduce extra issues. For example, how would
> one split several Python modules across several subpackages?
Just look at how %gofiles and %fontfiles do it
I would be the last to call the supporting macro code in
redhat-rpm-config pretty but it works and is available for reuse by
other fedora packages.
It enables reusing the same macro set for as many upstream modules and
subpackages as one may need to (and it also allows the mixing of those
subpackages when an upstream project provides several kinds of modules,
as is common for language binding projects)