I'm not really sure what the function of tools/sudo was, and it was definitely not required for fixing the rpm build.