Look at the build.log from gettext for example
(
http://koji.fedoraproject.org/koji/getfile?taskID=84453&name=build.log):
/usr/lib/rpm/pythondeps.sh: line 8: python: command not found
Better do
which python >/dev/null 2>&1
if [ $? == 1 ]; then exit 0; fi
before calling python.
Yes, it's cosmetic....
-of