[Rpm-maint] [rpm-software-management/rpm] __spec_*_shell macros do not work (#1399)
mikhailnov
notifications at github.com
Wed Oct 14 07:24:12 UTC 2020
I want to define _different_ shells for %prep, %build and %install (because I want to wrap pvs-studio analyzer in strace mode). But it does not work with neither rpm 4.15.1 not 4.16.0
`%global __spec_prep_shell /bin/false` - does nothing, /bin/sh iss till use.
`%global __build_shell /bin/false` does work, but defines shells for all sections (%prep, %build, %install).
To my mind `__spec_prep_shell ` is the shell which is used to execute the %build script, no? I cannot find where `__spec*shell` macros are used in the code, they seem to be dead.
--
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/1399
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201014/e2600bb4/attachment.html>
More information about the Rpm-maint
mailing list