summaryrefslogtreecommitdiff
path: root/gbp
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2012-01-12 15:36:10 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-06-05 14:20:04 +0300
commitcc11663d913ff75777686b52d7759c6805199b82 (patch)
tree96a5f8683cb355a2779423fd09785c80e9df88c1 /gbp
parentea44812a7ccf06abcbecdb034004a13f627aabce (diff)
downloadgit-buildpackage-cc11663d913ff75777686b52d7759c6805199b82.tar.gz
git-buildpackage-cc11663d913ff75777686b52d7759c6805199b82.tar.bz2
git-buildpackage-cc11663d913ff75777686b52d7759c6805199b82.zip
Add 'packaging-tag' option to config.py
This is the counterpart of 'debian-tag' (basically identical to that) to not confuse rpm maintainers. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp')
-rw-r--r--gbp/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py
index 9da847fd..27fe6288 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -580,12 +580,15 @@ class GbpOptionParserRpm(GbpOptionParser):
'builder' : '',
'cleaner' : '',
'packaging-dir' : '',
+ 'packaging-tag' : 'packaging/%(version)s',
} )
help = dict(GbpOptionParser.help)
help.update( {
'packaging-dir':
"subdir where packaging files are stored, default is '%(packaging-dir)s'",
+ 'packaging-tag':
+ "format string for packaging tags, rpm counterpart of the 'debian-tag' option, default is '%(packaging-tag)s'",
} )
# vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: