sed 's|^#!.*python|#!/usr/bin/python2.7|' '/home/user/rpmbuild/BUILDROOT/python27-2.7.10-1.x86_64/usr/lib/python2.7/Tools/scripts/fixps.py'
sed: can't read /home/user/rpmbuild/BUILDROOT/python27-2.7.10-1.x86_64/usr/lib/python2.7/Tools/scripts/fixps.py: No such file or directory
grep: write error: Broken pipe
error: Bad exit status from /var/tmp/rpm-tmp.pqCVol (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.pqCVol (%install)
...
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.pqCVol (%install)
I can provide more information if needed.