Currently, CentOS has not been supportted by mic, so user have to
install mic manually on CentOS
Change-Id: I9f245b34b6dcb1f6df1f7b7565fb3efa16b50b82
def main(args):
'''main entrance for createimage'''
+ try:
+ import mic
+ except ImportError:
+ raise GbsError('please install mic manually first')
if not os.path.exists(args.ks_file):
raise GbsError('specified ks file %s does not exist' % args.ks_file)
Requires: osc >= 0.139.0
Requires: tizen-gbp-rpm >= 20130403
Requires: depanneur >= 0.7
+%if ! 0%{?centos_version:1}
Requires: mic >= 0.18
+%endif
%if "%{?python_version}" < "2.7"
Requires: python-argparse