On 27/11/2019 01:49, Chris wrote:

I kind of like the way nagios-plugins breaks apart it's check_scripts into many sub-packages, but 50+ subpackages seems a bit extreme... or is it? It certainly seems like a bit of a nightmare to maintain; it would be one very large .spec file.

If the subpackages are sufficiently identical you can just use lua
to programatically generate the relevant spec fragment - see lodash
for an example:

https://src.fedoraproject.org/rpms/lodash/blob/master/f/lodash.spec#_64

It just reads the list of modules from a text file in the distgit repo
and generates the spec fragment for each one.

Tom

--
Tom Hughes ([email protected])
http://compton.nu/
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]

Reply via email to