summaryrefslogtreecommitdiff
path: root/gbp/config.py
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2012-01-12 15:38:29 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-11-14 14:22:11 +0200
commita125024d33d76422283305ec98420cfdad5565b5 (patch)
tree6395977cd845e05d27d07fc779f397b8537be52b /gbp/config.py
parent0cdaa3d613497da275ac7c7d9f2e80e6c7fd8b77 (diff)
downloadgit-buildpackage-a125024d33d76422283305ec98420cfdad5565b5.tar.gz
git-buildpackage-a125024d33d76422283305ec98420cfdad5565b5.tar.bz2
git-buildpackage-a125024d33d76422283305ec98420cfdad5565b5.zip
Introduce gbp-pq-rpm tool
Initial version of gbp-pq-rpm: a tool for managing patch queues for rpm packages. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Olev Kartau <olev.kartau@intel.com>
Diffstat (limited to 'gbp/config.py')
-rw-r--r--gbp/config.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py
index fac595b7..c0421d04 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',
+ 'spec-file' : 'auto',
})
help = dict(GbpOptionParser.help)
@@ -615,6 +616,10 @@ class GbpOptionParserRpm(GbpOptionParser):
'packaging-tag':
"Format string for packaging tags, RPM counterpart of the "
"'debian-tag' option, default is '%(packaging-tag)s'",
+ 'spec-file':
+ "Spec file to use, 'auto' makes gbp to guess, other values "
+ "make the packaging-dir option to be ignored, default is "
+ "'%(spec-file)s'",
})
# vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: