packaging: remove centos5 and centos6 support
Differential Revision: https://phab.mercurial-scm.org/D9292
--- 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