use templates %(version)s and %(version_major)s