D189: makefile: build on CentOS 6 with a Python 2.7
Mathiasdm (Mathias De Maré)
phabricator at mercurial-scm.org
Thu Jul 27 12:46:15 UTC 2017
Mathiasdm created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
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
@@ -275,13 +275,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
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list