summaryrefslogtreecommitdiff
path: root/gbp/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/config.py')
-rw-r--r--gbp/config.py52
1 files changed, 52 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py
index 32d7de5..1fcdf04 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -591,7 +591,27 @@ class GbpOptionParserRpm(GbpOptionParser):
'packaging-branch' : 'master',
'packaging-dir' : '',
'packaging-tag' : 'packaging/%(version)s',
+ 'pq-branch' : 'development/%(branch)s',
+ 'import-files' : ['.gbp.conf',
+ 'debian/gbp.conf'],
'spec-file' : '',
+ 'builder' : 'rpmbuild',
+ 'cleaner' : '/bin/true',
+ 'export-dir' : '../rpmbuild',
+ 'native' : 'auto',
+ 'ignore-untracked' : 'False',
+ 'rpmbuild-builddir' : 'BUILD',
+ 'rpmbuild-rpmdir' : 'RPMS',
+ 'rpmbuild-sourcedir' : 'SOURCES',
+ 'rpmbuild-specdir' : 'SPECS',
+ 'rpmbuild-srpmdir' : 'SRPMS',
+ 'rpmbuild-buildrootdir' : 'BUILDROOT',
+ 'patch-export' : 'False',
+ 'patch-export-compress' : '0',
+ 'patch-export-ignore-path' : '',
+ 'patch-export-squash-until' : '',
+ 'spec-vcs-tag' : '',
+ 'orig-prefix' : 'auto',
})
help = dict(GbpOptionParser.help)
@@ -611,9 +631,41 @@ class GbpOptionParserRpm(GbpOptionParser):
'packaging-tag':
"Format string for packaging tags, RPM counterpart of the "
"'debian-tag' option, default is '%(packaging-tag)s'",
+ 'pq-branch':
+ "format string for the patch-queue branch name, default is "
+ "'%(pq-branch)s'",
'spec-file':
"Spec file to use, causes the packaging-dir option to be "
"ignored, default is '%(spec-file)s'",
+ 'import-files':
+ "Comma-separated list of additional file(s) to import from "
+ "packaging branch. These will appear as one monolithic patch "
+ "in the pq/development branch. Default is %(import-files)s",
+ 'native':
+ "Treat this package as native, default is '%(native)s'",
+ 'ignore-untracked':
+ "build with untracked files in the source tree, default is "
+ "'%(ignore-untracked)s'",
+ 'patch-export':
+ "Create patches between upstream and export-treeish, default "
+ "is '%(patch-export)s'",
+ 'patch-export-compress':
+ "Compress (auto-generated) patches larger than given number of "
+ "bytes, 0 never compresses, default is "
+ "'%(patch-export-compress)s'",
+ 'patch-export-ignore-path':
+ "Exclude changes to path(s) matching regex, default is "
+ "'%(patch-export-ignore-path)s'",
+ 'patch-export-squash-until':
+ "Squash commits (from upstream) until given tree-ish into one "
+ "big diff, format is '<commit_ish>[:<filename_base>]'. "
+ "Default is '%(patch-export-squash-until)s'",
+ 'spec-vcs-tag':
+ "Set/update the 'VCS:' tag in the spec file, empty value "
+ "removes the tag entirely, default is '%(spec-vcs-tag)s'",
+ 'orig-prefix':
+ "Prefix (dir) to be used when generating/importing tarballs, "
+ "default is '%(orig-prefix)s'",
})
# vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: