Re: Request for feedback: %pycached macro for %files section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

https://pagure.io/fonts-rpm-macros/blob/master/f/templates/rpm/spectemplate-fonts-2-multi.spec#_122
https://pagure.io/go-rpm-macros/blob/master/f/templates/rpm/spectemplate-go-6-multi.spec#_186

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)

Reagrds,

--
Nicolas Mailhot
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux