$insserv_compat = "insserv-compat";
}
+my $python_devel = "python-devel";
+my $python_cython = "";
+my $python = "python";
+if ($DISTRO =~ m/RHEL8/) {
+ $python = "python36";
+ $python_devel = "python36-devel";
+ $python_cython = "python3-Cython";
+ $pkgconfig = "pkgconf-pkg-config";
+ $libnl_devel = 'libnl3-devel';
+ $libnl = 'libnl3';
+}
+
+my $docutils = "python3-docutils";
+if ($DISTRO =~ /RHEL[67] | OL[67]/x) {
+ $docutils = "python-docutils";
+}
+
push (@rdma_core_build_deps, "systemd-devel");
push (@rdma_core_build_deps, "$libudev_devel");
push (@rdma_core_build_deps, "$cmake");
dist_req_build => [
"cmake__2.8.11", "$libudev_devel", "$pkgconfig",
"$valgrind_devel", "$gcc", "$glibc_devel$suffix_64bit",
- "$libgcc",
+ "$libgcc", "$python_devel", "$python_cython", "$docutils",
"$libnl3_devel"."$suffix_64bit",
($build32 == 1) ? (
"$glibc_devel$suffix_32bit",