summaryrefslogtreecommitdiff
path: root/gbp/config.py
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2012-05-30 20:02:39 +0300
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-11-14 14:45:07 +0200
commit0d3228cf3ccc2337c930bd731136a5648d421c0b (patch)
treed42e2ed68171594caeefb16122118e2dd41ce1a4 /gbp/config.py
parent96a8aaed8cae3494d66be231a57eae2b7ca2d966 (diff)
downloadgit-buildpackage-0d3228cf3ccc2337c930bd731136a5648d421c0b.tar.gz
git-buildpackage-0d3228cf3ccc2337c930bd731136a5648d421c0b.tar.bz2
git-buildpackage-0d3228cf3ccc2337c930bd731136a5648d421c0b.zip
rpm helpers: make SpecFile and SrcRpmFile give (full) version as dict.
The Dictionary contains different "version components", such as upstreamversion, release and epoch. Makes e.g. tag creation consistent, now. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp/config.py')
-rw-r--r--gbp/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py
index db92037d..8c3a256f 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -596,6 +596,7 @@ class GbpOptionParserRpm(GbpOptionParser):
'packaging-branch' : 'master',
'packaging-dir' : '',
'packaging-tag' : 'packaging/%(version)s',
+ 'upstream-tag' : 'upstream/%(upstreamversion)s',
'pq-branch' : 'development/%(branch)s',
'spec-file' : 'auto',
'builder' : 'rpmbuild',