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, 7 Jan 2014 14:21:28 +0000 (16:21 +0200)
This is the counterpart of 'debian-tag' (basically identical to that) to
not confuse rpm maintainers.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/config.py

index 4f8b2c45d89ff1bec7df3bfbcb48223518c52131..71d7fd7f132b6ac6ce0039f154eecbf33560f4df 100644 (file)
@@ -536,12 +536,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\:·: