[Rpm-maint] [rpm-software-management/rpm] RFE: Automatic (sub)package generators (#329)

Neal Gompa (ニール・ゴンパ) notifications at github.com
Mon Oct 2 14:25:31 UTC 2017

Today in RPM, we have dependency generators that allow us to automatically match dependencies based on the content of the install tree. However, it's still a lot of work for people to split out things into subpackages so that the dependencies are matched up with the components they actually belong to.

It'd be awesome if we had a system for package generators similar to the dependency generator system.

As a conceptual inspiration, Solus has an interesting pattern-matching mechanism in their [ypkg system](https://github.com/solus-project/ypkg), which is very similar to a YAML-based RPM spec (and somewhat inspired by rpm spec in some ways), but offers some interesting advantages that drastically simplify the effort to package software.

We already have a pattern matching mechanism for dependency generation with the fileattr system, and we sort of have a automatic package generation mechanism for the debuginfo subpackage stuff. I imagine these two mechanisms can be extended to add the ability to set up rules for generating subpackages arbitrarily for various things (Perl & Python binding packages, library packages, devel packages, etc.).

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20171002/2aac6f3c/attachment.html>

More information about the Rpm-maint mailing list