if not os.path.exists(tmpdir):
os.makedirs(tmpdir)
+ if opts.author_name:
+ COMM_NAME = opts.author_name
+ if opts.author_email:
+ COMM_EMAIL = opts.author_email
+
specfile = None
if len(args) < 1:
msger.error('missing argument, please reference gbs import --help.')
'the tarball. The format of tarball name should be '
'name-version-tizen.<ext> or name-version.<ext>')
+ if opts.author_name:
+ COMM_NAME = opts.author_name
+ if opts.author_email:
+ COMM_EMAIL = opts.author_email
+
try:
msger.info('unpack upstream tar ball ...')
upstream.unpack(tardir)