* The python-is-python2 package will not be installed by gbs now.
Change-Id: Iba6f0545ced8364ac766dcbb188b87286cfd741b
Signed-off-by: wanchao-xu <wanchao.xu@samsung.com>
git checkout master
-DIST=`python -c "import platform; print platform.dist()[0]"`
+DIST=`python2 -c "import platform; print platform.dist()[0]"`
-VERSION=`python -c "import platform;print platform.dist()[1]"`
+VERSION=`python2 -c "import platform;print platform.dist()[1]"`
if ([ $DIST = centos ] && [ $VERSION \< 7 ] ) || ([ $DIST = SuSE ] && [ $VERSION = 12.1 ]);then
OPTION=--no-log
<testcase>
<summary>GBS package version check</summary>
<steps><![CDATA[
-DIST=`python -c "import platform; print platform.dist()[0]"`
+DIST=`python2 -c "import platform; print platform.dist()[0]"`
if [ $DIST = Ubuntu ]||[ $DIST = debian ]; then
# Version: 0.17~rc1 | 0.17