SSIA, "fedpkg git" should offer the gitbuildhash subcommand.
Fixed in PR https://pagure.io/fedpkg/pull-request/29