buildpackage-rpm: support setting/updating the 'VCS:' tag
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 17 Jan 2013 08:41:18 +0000 (10:41 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 14 Nov 2014 12:46:23 +0000 (14:46 +0200)
commit64f0ddd250d786aae8aca1aa3a0aca2bed5faefd
treecc81cdc5f419cc989c8cc8e1d8c81e9c4c9fe30b
parent0caaee0239b7345f367cefae045795e40306a486
buildpackage-rpm: support setting/updating the 'VCS:' tag

Git-buildpackage-rpm now always updates the 'VCS:' tag in the exported
spec file. A new config option 'spec-vcs-tag' controls the format:
- if empty, no 'VCS' tag is inserted and possible old 'VCS' tag is
  removed
- otherwise, a 'VCS' tag is inserted or the old 'VCS' tag is updated
- '%(tag)s' expands to the long tag name (from git-describe)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/config.py
gbp/scripts/buildpackage_rpm.py