From 0d3228cf3ccc2337c930bd731136a5648d421c0b Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Wed, 30 May 2012 20:02:39 +0300 Subject: 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 --- gbp/config.py | 1 + 1 file changed, 1 insertion(+) (limited to 'gbp/config.py') 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', -- cgit v1.2.3