From 73d6511d9efadff0680fa123555f031ceb881f58 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 16 Oct 2019 13:25:21 -0400 Subject: [PATCH] Use python3 explicitly for building source The source distrobution on CentOS7 does not work well with python2. Using python3 to build the dist for python2 and python3 fixes issues with extra data being missed in packaging. --- confluent_server/buildrpm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/buildrpm b/confluent_server/buildrpm index 14071382..c4f347e8 100755 --- a/confluent_server/buildrpm +++ b/confluent_server/buildrpm @@ -6,7 +6,7 @@ fi ./makesetup VERSION=`cat VERSION` PKGNAME=$(basename $(pwd)) -python setup.py sdist > /dev/null 2>&1 +python3 setup.py sdist > /dev/null 2>&1 cp dist/*.tar.gz ~/rpmbuild/SOURCES sed -e 's/#VERSION#/'$VERSION/ $PKGNAME.spec.tmpl > ~/rpmbuild/SPECS/$PKGNAME.spec rpmbuild -ba ~/rpmbuild/SPECS/$PKGNAME.spec 2> /dev/null |grep ^Wrote: