Add 'packaging-dir' option to config.py
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 12 Jan 2012 13:35:05 +0000 (15:35 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 8 May 2012 08:39:40 +0000 (11:39 +0300)
Needed by the upcoming rpm tools.

gbp/config.py

index a79dc19595712367acb1635fa1a979ef0d2fdc5e..99f07f4a5eb50009f634ffac61ce0c8a494934b1 100644 (file)
@@ -406,8 +406,13 @@ class GbpOptionParserRpm(GbpOptionParser):
     defaults.update( {
                        'builder'                : '',
                        'cleaner'                : '',
+                       'packaging-dir'          : '',
                      } )
 
     help = dict(GbpOptionParser.help)
+    help.update( {
+                   'packaging-dir':
+                        "subdir where packaging files are stored, default is '%(packaging-dir)s'",
+                 } )
 
 # vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: