gemspec: do not repeat code