D189: makefile: build on CentOS 6 with a Python 2.7

Mathiasdm (Mathias De Maré) phabricator at mercurial-scm.org
Thu Jul 27 15:59:23 EDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGaf09413deb72: makefile: build on CentOS 6 with a Python 2.7 (authored by Mathiasdm).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D189?vs=425&id=430

REVISION DETAIL
  https://phab.mercurial-scm.org/D189

AFFECTED FILES
  Makefile
  contrib/docker/centos6

CHANGE DETAILS

diff --git a/contrib/docker/centos6 b/contrib/docker/centos6
--- a/contrib/docker/centos6
+++ b/contrib/docker/centos6
@@ -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
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -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



To: Mathiasdm, #hg-reviewers, durin42
Cc: mercurial-devel


More information about the Mercurial-devel mailing list