Seen with docbook5-style-xsl, rpm - any scripts that use /usr/bin/env TOOL get rewritten to /usr/bin/TOOL.
It would be nice to rewrite these to /usr/sgug/bin/TOOL - and would fix a regression seen with more recent rpm macros versus just using the original /usr/bin/env TOOL.