makefile: build on CentOS 6 with a Python 2.7 stable
authorMathias De Maré <mathias.de_mare@nokia.com>
Thu, 27 Jul 2017 14:15:26 +0200
branchstable
changeset 33596 af09413deb72
parent 33595 c5607b65fcb8
child 33597 a3ac1ea611ce
makefile: build on CentOS 6 with a Python 2.7 Differential Revision: https://phab.mercurial-scm.org/D189
Makefile
contrib/docker/centos6
--- a/Makefile	Mon Jul 24 20:39:26 2017 -0400
+++ b/Makefile	Thu Jul 27 14:15:26 2017 +0200
@@ -276,13 +276,13 @@
 
 centos6:
 	mkdir -p packages/centos6
-	contrib/buildrpm
+	contrib/buildrpm --withpython
 	cp rpmbuild/RPMS/*/* packages/centos6
 	cp rpmbuild/SRPMS/* packages/centos6
 
 docker-centos6:
 	mkdir -p packages/centos6
-	contrib/dockerrpm centos6
+	contrib/dockerrpm centos6 --withpython
 
 centos7:
 	mkdir -p packages/centos7
--- a/contrib/docker/centos6	Mon Jul 24 20:39:26 2017 -0400
+++ b/contrib/docker/centos6	Thu Jul 27 14:15:26 2017 +0200
@@ -7,3 +7,5 @@
 RUN yum install -y tar
 # For creating repo meta data
 RUN yum install -y createrepo
+# For python
+RUN yum install -y readline-devel openssl-devel ncurses-devel zlib-devel bzip2-devel