[Rpm-maint] [rpm-software-management/rpm] Export build script environment information to a well known location (PR #4026)
Michal Domonkos
notifications at github.com
Wed Nov 5 09:44:42 UTC 2025
dmnks left a comment (rpm-software-management/rpm#4026)
One downside I've spotted is that the `%___build_pre_env` contents is now repeatedly printed in the build log, once for every build scriptlet. That makes the log quite a bit longer, and additionally obfuscates the tail of the log which carries the information about where to find the built packages (the `Wrote: /path/to/my.rpm` lines), because of the `rmbuild` scriptlet executing afterwards.
One easy way to fix this would be to simply move script sourcing line to before the `set -x` command in `%___build_pre`. But then, wasn't this (printing the contents) actually one of the motivations in the original ticket (see [this comment](https://github.com/rpm-software-management/rpm/issues/3147#issuecomment-2154160527))? :thinking:
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4026#issuecomment-3490193615
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/4026/c3490193615 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20251105/516e0945/attachment.htm>
More information about the Rpm-maint
mailing list