From f6dbaa0686cbba2afe1fa34abf5aaff95c85c6bd Mon Sep 17 00:00:00 2001 From: Konrad Sztyber Date: Thu, 17 Feb 2022 11:11:40 +0100 Subject: [PATCH] pkgdep: add python3-devel dependency The following patch will need it to expand the %{python3_sitelib} macros when building the RPMs. Signed-off-by: Konrad Sztyber Change-Id: I2782b228066fa0524d675c8d964217a7c9d11e36 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11656 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: Ben Walker Reviewed-by: Paul Luse --- scripts/pkgdep/rhel.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pkgdep/rhel.sh b/scripts/pkgdep/rhel.sh index d307d1bce..4127d33cb 100755 --- a/scripts/pkgdep/rhel.sh +++ b/scripts/pkgdep/rhel.sh @@ -84,13 +84,13 @@ fi yum install -y gcc gcc-c++ make cmake CUnit-devel libaio-devel openssl-devel \ libuuid-devel libiscsi-devel ncurses-devel json-c-devel libcmocka-devel if echo "$ID $VERSION_ID" | grep -E -q 'centos 8|rhel 8'; then - yum install -y python36 + yum install -y python36 python36-devel #Create hard link to use in SPDK as python if [[ ! -e /usr/bin/python && -e /etc/alternatives/python3 ]]; then ln -s /etc/alternatives/python3 /usr/bin/python fi else - yum install -y python + yum install -y python python3-devel fi yum install -y python3-pip pip3 install ninja