localpkg helper script for fedpkg