Mercurial > hg-stable
changeset 45854:f38d592f871a
packaging: remove centos5 and centos6 support
Differential Revision: https://phab.mercurial-scm.org/D9292
author | Mathias De Mare <mathias.de_mare@nokia.com> |
---|---|
date | Fri, 06 Nov 2020 11:24:54 +0100 |
parents | e01ea8325859 |
children | de1f4c431619 |
files | Makefile contrib/packaging/Makefile contrib/packaging/docker/centos5 contrib/packaging/docker/centos6 |
diffstat | 4 files changed, 2 insertions(+), 59 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Nov 11 22:01:45 2020 +0100 +++ b/Makefile Fri Nov 06 11:24:54 2020 +0100 @@ -192,13 +192,9 @@ # Packaging targets packaging_targets := \ - centos5 \ - centos6 \ centos7 \ centos8 \ deb \ - docker-centos5 \ - docker-centos6 \ docker-centos7 \ docker-centos8 \ docker-debian-bullseye \
--- a/contrib/packaging/Makefile Wed Nov 11 22:01:45 2020 +0100 +++ b/contrib/packaging/Makefile Fri Nov 06 11:24:54 2020 +0100 @@ -14,14 +14,12 @@ FEDORA_RELEASE := 31 CENTOS_RELEASES := \ - 5 \ - 6 \ 7 \ 8 # Build a Python for these CentOS releases. -CENTOS_WITH_PYTHON_RELEASES := 5 6 -CENTOS_WITH_NONVERSIONED_PYTHON := 5 6 7 +CENTOS_WITH_PYTHON_RELEASES := +CENTOS_WITH_NONVERSIONED_PYTHON := help: @echo 'Packaging Make Targets'
--- a/contrib/packaging/docker/centos5 Wed Nov 11 22:01:45 2020 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -FROM centos:centos5 - -RUN groupadd -g %GID% build && \ - useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build - -RUN \ - sed -i 's/^mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo && \ - sed -i 's/^#\(baseurl=\)http:\/\/mirror.centos.org\/centos/\1http:\/\/vault.centos.org/' /etc/yum.repos.d/*.repo && \ - sed -i 's/\$releasever/5.11/' /etc/yum.repos.d/*.repo - -RUN yum install -y \ - gcc \ - gettext \ - make \ - python-devel \ - python-docutils \ - rpm-build \ - tar - -# For creating repo meta data -RUN yum install -y \ - bzip2-devel \ - createrepo \ - ncurses-devel \ - openssl-devel \ - readline-devel \ - zlib-devel
--- a/contrib/packaging/docker/centos6 Wed Nov 11 22:01:45 2020 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -FROM centos:centos6 - -RUN groupadd -g %GID% build && \ - useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build - -RUN yum install -y \ - gcc \ - gettext \ - make \ - python-devel \ - python-docutils \ - rpm-build \ - tar - -# For creating repo meta data -RUN yum install -y createrepo - -# For python -RUN yum install -y \ - bzip2-devel \ - ncurses-devel \ - openssl-devel \ - readline-devel \ - zlib-devel