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

Vít Ondruch notifications at github.com
Mon Feb 5 11:53:35 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.

One possibility I can think of is that if the RPMs should be mergeable, then probably also SRPM should be mergeable for consistency? That would be likely weird, not sure 🤷

> I don't think you really want to merge binary RPMs but get rid of packages in distgit - which is the expensive part as far as I see it.

Maybe or maybe not. I am looking for options.

> 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.

> 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.

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

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


More information about the Rpm-maint mailing list