[Rpm-maint] [rpm-software-management/rpm] Mangle inter-package dependencies (#627)

wladmis notifications at github.com
Sat Feb 9 05:52:24 UTC 2019


> This has been implemented in ALT here: http://git.altlinux.org/gears/r/rpm-build.git?p=rpm-build.git;a=blob_plain;f=build/interdep.c;hb=HEAD. That code does different things and hard to read, but that is where we can steal some ideas.

In that part of code the following happens (A, B and C are subpackages of one package):

- strong intersubpackage dependencies are automatically generated  (if A requires foo, and B provides foo, then a strong dependency on B is added to A);
- redundant dependencies are optimized away (if A requires B and foo, and B provides foo, the foo requirement is optimized away from A);
- strong transitive dependencies are optimized away (if A requires B and C, and B requires C, then C dependency is optimized away from A).

The benefit of these is simplifying of manual maintainer work and reducing the size of package headers and, as a result, repo indices.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/627#issuecomment-462016631
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190208/e77bb7ce/attachment.html>


More information about the Rpm-maint mailing list