Drop proprietary repo usage for libselinux-python3

With release of Centos 7.8 libselinux-python3 is present in
Centos base repo. So we don't need to use 3rd party one.

Change-Id: I0af4ea8683b7531a5c32ad85592713eeca4be638
This commit is contained in:
Dmitriy Rabotyagov 2020-05-12 19:56:32 +03:00
parent e729d39e2b
commit 7bb347db88

View File

@ -68,12 +68,6 @@ which dnf &>/dev/null && RHT_PKG_MGR='dnf' || RHT_PKG_MGR='yum'
# Install the base packages
case ${DISTRO_ID} in
centos|rhel)
# NOTE(mnaser): libselinux-python3 will likely not exist until CentOS 7.8 and
# we need to unblock our gates to be able to use Python 3, so we
# use this temporary repository. This should be removed once
# CentOS 7 releases libselinux-2.5-15.
curl https://object-storage-ca-ymq-1.vexxhost.net/swift/v1/8709ca2640344a4ba85cba0a1d6eea69/libselinux-2.5-15/libselinux.repo \
-o /etc/yum.repos.d/libselinux.repo
$RHT_PKG_MGR -y install \
git curl autoconf gcc gcc-c++ nc \
python3 python3-devel libselinux-python3 \