Add 'packaging-tag' option to config.py
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 12 Jan 2012 13:36:10 +0000 (15:36 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 8 May 2012 08:39:40 +0000 (11:39 +0300)
This is the counterpart of 'debian-tag' (basically identical to that) to
not confuse rpm maintainers.

gbp/config.py

index 81e667fa8cdd7134aef281f6166c59a11c985611..3d9806da82d805dea6a2b8ffc4827fe995b735b3 100644 (file)
@@ -410,12 +410,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\:·: