summaryrefslogtreecommitdiff
path: root/gbp/config.py
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2012-01-12 15:45:06 +0200
committerGuido Günther <agx@sigxcpu.org>2014-07-24 23:33:36 +0200
commited228a25059d4600a0e3155151febb8c8e1f66fb (patch)
treeb3246b154d32a5afdd76b7f61da0333663dc86c1 /gbp/config.py
parent2bf944f14ceef34cd50afd7786b6627c6bd7df72 (diff)
import-srpm: add 'vendor' config option
Intended to represent the distribution vendor (e.g. 'Debian'). Currently, this can be used in tag format strings. NOTE: the vendor name is converted to lowercase when used in tag names. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp/config.py')
-rw-r--r--gbp/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py
index 02a6f06..af21fb8 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -524,6 +524,7 @@ class GbpOptionParserRpm(GbpOptionParser):
defaults = dict(GbpOptionParser.defaults)
defaults.update({
'tmp-dir' : '/var/tmp/gbp/',
+ 'vendor' : 'Downstream',
'packaging-branch' : 'master',
'packaging-dir' : '',
'packaging-tag' : 'packaging/%(version)s',
@@ -534,6 +535,8 @@ class GbpOptionParserRpm(GbpOptionParser):
'tmp-dir':
"Base directory under which temporary directories are "
"created, default is '%(tmp-dir)s'",
+ 'vendor':
+ "Distribution vendor name, default is '%(vendor)s'",
'packaging-branch':
"Branch the packaging is being maintained on, rpm counterpart "
"of the 'debian-branch' option, default is "