changeset 33596:af09413deb72 stable

makefile: build on CentOS 6 with a Python 2.7 Differential Revision: https://phab.mercurial-scm.org/D189
author Mathias De Maré <mathias.de_mare@nokia.com>
date Thu, 27 Jul 2017 14:15:26 +0200
parents c5607b65fcb8
children a3ac1ea611ce
files Makefile contrib/docker/centos6
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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