Nothing fancy, implements -g in the most straightforward way. Works for a few spec files I tested this on.
Pull-Request has been rebased
Pull-Request has been merged by tibbs