Centos6 uses python 2.6 which does not have the argparse module that we use.
However, there is a possibility to add the argparse module by installing the
'python-argparse' package which is available from 3rd party Centos6
repositories. Thus, add the corresponding dependency for Centos6.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Requires: python-libs
%endif
+# We need the argparse module which is not available in Centos6
+%if 0%{?centos_version} == 600
+Requires: python-argparse
+%endif
+
%description
Bmap-tools - tools to generate block map (AKA bmap) and flash images using bmap