RHEL gets perl dependencies automatically, but Fedora requires the perl-generators BuildRequires for it to work right. Cc: stable@xxxxxxxxxxxxxx Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx> --- buildlib/cbuild | 2 +- redhat/rdma-core.spec | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) Jarod/Honggang/Doug: This is a bug in the current Fedora packages, they don't install enough deps for 'rxe_cfg' to work. This patch should be backported to FC's current rdma-core as well. Thanks, Jason diff --git a/buildlib/cbuild b/buildlib/cbuild index f57e733cefc54f..0e28aff94807f6 100755 --- a/buildlib/cbuild +++ b/buildlib/cbuild @@ -134,7 +134,7 @@ class centos7_epel(centos7): class fc28(Environment): docker_parent = "fedora:28"; - pkgs = (centos7.pkgs - {"make"}) | {"ninja-build","pandoc"}; + pkgs = (centos7.pkgs - {"make"}) | {"ninja-build","pandoc","perl-generators"}; name = "fc28"; specfile = "redhat/rdma-core.spec"; ninja_cmd = "ninja-build"; diff --git a/redhat/rdma-core.spec b/redhat/rdma-core.spec index 2578aa8475a321..c281c5fa4e2cf9 100644 --- a/redhat/rdma-core.spec +++ b/redhat/rdma-core.spec @@ -22,6 +22,9 @@ BuildRequires: valgrind-devel BuildRequires: systemd BuildRequires: systemd-devel BuildRequires: python +%if 0%{?fedora} >= 21 +BuildRequires: perl-generators +%endif Requires: dracut, kmod, systemd # Red Hat/Fedora previously shipped redhat/ as a stand-alone -- 2.19.0