[Rpm-maint] [rpm-software-management/rpm] Is there a way to merge several RPMs (Discussion #2887)

Florian Festi notifications at github.com
Mon Feb 5 12:16:15 UTC 2024


> > You are also kinda confused about RPMs and SRPMs.
> 
> I don't think I am. Or at least I don't know why you think so.

That's what a confused person would say...

Merging RPMs and SRPMs is not something we will pursue and it doesn't make any sense. There is no point in merging SRPMs as they can only have one spec file each.

> > If you do want to merge binary packages (not that I can think of a good reason) use meta packages instead.
> 
> This is not an option in this context. One way or the other, it adds one more package.

I have not yet seen an argument why the number of packages is a problem.

> > Merging Spec files is a different thing completely. That is probably something to look into - especially if they can be created automatically from gems or similar language specific package formats.
> 
> This is what I thought would be the hard part 😆 Maybe mainly because I don't see a merit in merging spec files like just plain concatenating and obtaining the same result. It would probably be interesting, if I can select some sections, while probably modify the associated `%files` section.

This is the only thing here that is actually worth considering here. It would kinda fit into both the Dynamic Spec and the Handsfree Packaging initiatives. Basically dropping multiple gems into a single distgit package and assemble the merged spec file automatically. There are probably still a few pieces missing but we already made big steps into making this possible.



-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2887#discussioncomment-8369464
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/repo-discussions/2887/comments/8369464 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240205/4ddff595/attachment-0001.html>


More information about the Rpm-maint mailing list