[Rpm-maint] [rpm-software-management/rpm] Process scriplets by dependency generators (#1033)

mikhailnov notifications at github.com
Thu Feb 6 22:28:32 UTC 2020


Ok, another hack is possible. I can make a macro ` %__scriptlets_directory`, create that directory inside the buildroot and copy scriptlets there. Then process them with a dependency generator. But, according to docs https://rpm.org/user_doc/dependency_generators.html , a generator cannot make "Requires(pre)" or "Requires(post)" needed here, only just "Requires". Does e.g. `dnf `guarantee that "Requires" are installed before %pre and %post are executed? I am pretty sure that no.
` %__scriptlets_directory` can be removed before packing the package or can be left, e.g. if `%__scriptlets_directory_remove` == 0.

-- 
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/1033#issuecomment-583142300
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200206/4542b8cf/attachment.html>


More information about the Rpm-maint mailing list