add support for src_prep_fini_hook: hook function runs in prep after patching
Merge branch 'master' into src_prep_fini_hook
Merge branch 'src_prep_fini_hook' into upload