summaryrefslogtreecommitdiff
path: root/gbp/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/config.py')
-rw-r--r--gbp/config.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py
index 02b9254..79404df 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -611,6 +611,12 @@ class GbpOptionParserRpm(GbpOptionParser):
'patch-export-squash-until' : '',
'spec-vcs-tag' : '',
'orig-prefix' : 'auto',
+ 'mock' : 'False',
+ 'mock-results-pat' : 'results/%(dist)s/%(target_arch)s/',
+ 'dist' : '',
+ 'arch' : '',
+ 'mock-root' : '',
+ 'mock-options' : '',
})
help = dict(GbpOptionParser.help)
@@ -665,6 +671,24 @@ class GbpOptionParserRpm(GbpOptionParser):
'orig-prefix':
"Prefix (dir) to be used when generating/importing tarballs, "
"default is '%(orig-prefix)s'",
+ 'mock':
+ ("Invoke git-mock for building, "
+ "default is '%(mock)s'"),
+ 'dist':
+ ("Build for this distribution when using git-mock. E.g.: epel-6, "
+ "default is '%(dist)s'"),
+ 'arch':
+ ("Build for this architecture when using git-mock, "
+ "default is '%(arch)s'"),
+ 'mock-root':
+ ("The mock root (-r) name for building with git-mock: <dist>-<arch>, "
+ "default is '%(mock-root)s'"),
+ 'mock-options':
+ ("Options to pass to mock, "
+ "default is '%(mock-options)s'"),
+ 'mock-result-pat':
+ ("Pattern describing the subdirectory under which mock will write results, "
+ "default is '%(mock-results-pat)s'"),
})
# vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: