[Rpm-maint] [rpm-software-management/rpm] Process scriplets by dependency generators (#1033)
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint