diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-02-04 17:54:36 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-06-30 16:44:25 +0200 |
commit | c5cfb5ecc4c0fab706a5fb984ebf60dfa34390f2 (patch) | |
tree | 2be44bb6dce79846b4445e37d1a7536ed28bb573 /gbp/config.py | |
parent | af2be3b977428958963f35c5507ac71e7018f65f (diff) |
Introduce gbp-rpm-ch
Initial version of gbp rpm-ch command, a tool for maintaining
RPM changelogs. The new command supports %changelog section inside spec
files as well as separate changelog files ("OBS style").
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Closes: #808027
Diffstat (limited to 'gbp/config.py')
-rw-r--r-- | gbp/config.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py index 8b1d95ce..fde66789 100644 --- a/gbp/config.py +++ b/gbp/config.py @@ -668,6 +668,10 @@ class GbpOptionParserRpm(GbpOptionParser): 'mock-root' : '', 'mock-options' : '', 'native' : 'auto', + 'changelog-file' : 'auto', + 'changelog-revision' : '', + 'spawn-editor' : 'always', + 'editor-cmd' : 'vim', }) help = dict(GbpOptionParser.help) @@ -717,6 +721,17 @@ class GbpOptionParserRpm(GbpOptionParser): "default is '%(mock-options)s'"), 'native': "Treat this package as native, default is '%(native)s'", + 'changelog-file': + "Changelog file to be used, default is '%(changelog-file)s'", + 'changelog-revision': + "Format string for the revision field in the changelog header. " + "If empty or not defined the default from packaging policy is " + "used.", + 'editor-cmd': + "Editor command to use", + 'git-author': + "Use name and email from git-config for the changelog header, " + "default is '%(git-author)s'", }) # vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: |