diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2012-05-30 20:02:39 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-06-05 14:20:05 +0300 |
commit | b4b62db9f4379693d483ca2c2db1ddf6c08e3581 (patch) | |
tree | a135b44cf0f62c5f4b9f739322672dcd80a92543 /gbp/config.py | |
parent | fa18be06e5bc6c40f6d5d29c3f7a4be8bb9ad77c (diff) | |
download | git-buildpackage-b4b62db9f4379693d483ca2c2db1ddf6c08e3581.tar.gz git-buildpackage-b4b62db9f4379693d483ca2c2db1ddf6c08e3581.tar.bz2 git-buildpackage-b4b62db9f4379693d483ca2c2db1ddf6c08e3581.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.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py index 0146f840..dc73b840 100644 --- a/gbp/config.py +++ b/gbp/config.py @@ -583,6 +583,7 @@ class GbpOptionParserRpm(GbpOptionParser): 'merge' : 'False', 'packaging-dir' : '', 'packaging-tag' : '%(vendor)s/%(version)s', + 'upstream-tag' : 'upstream/%(upstreamversion)s', 'pq-branch' : 'development/%(branch)s', 'spec-file' : 'auto', 'export-dir' : '../rpmbuild', |