It was possible to generate Requires, Recommends etc. using external dependency generators. Adding ability to generate OrderWithRequires.
Example use case: When a package contains a systemd unit, %systemd_* macros are usually used; it is usefull to add "OrderWithRequires: systemd" in this case to ensure that systemd is installed before that package. It will help to avoid adding "%systemd_ordering" manually to all packages using systemd. Having systemd preinstalled before packages with systemd scriptlets is really important, otherwise those scriptlets fail silently, and the resulting ISO or chroot may be broken. The same makes sense for e.g. systemd-sysusers, systemd-tmpfiles. An RPM generator using this functionality was implemented: https://abf.io/import/order-rpm-generators Rebuilding packages with systemd stuff in rosa2019.05 using this generator has already helped to improve installation order, e.g. make e.g. openvpn be installed when systemd already exists in a big transaction with ~3500 packages when building a big ISO image. Before that openvpn was installed when systemd did not exist yet. P.S. This patch adds %__find_orderwithrequires, maybe that is legacy code that should not be changed. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/1257 -- Commit Summary -- * Add OrderWithRequires dependency generation -- File Changes -- M build/rpmfc.c (10) M build/rpmfc.h (7) M tools/rpmdeps.c (6) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/1257.patch https://github.com/rpm-software-management/rpm/pull/1257.diff -- 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/pull/1257
_______________________________________________ Rpm-maint mailing list Rpmfirstname.lastname@example.org http://lists.rpm.org/mailman/listinfo/rpm-maint