From 6495ad1e5e14603235579af371d87e0abea75007 Mon Sep 17 00:00:00 2001 From: Honggang Li Date: Jan 25 2021 08:29:29 +0000 Subject: Fix ELN build issue The 'fedora' macro had been removed from RHEL9 ELN build. We will have to use the 'rhel' macro for RHEL9 ELN build. Signed-off-by: Honggang Li --- diff --git a/rdma-core.spec b/rdma-core.spec index 47a50ef..ab55d35 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -1,6 +1,6 @@ Name: rdma-core Version: 33.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: RDMA core userspace libraries and daemons # Almost everything is licensed under the OFA dual GPLv2, 2 Clause BSD license @@ -67,7 +67,7 @@ Conflicts: infiniband-diags <= 1.6.7 # Ninja was introduced in FC23 BuildRequires: ninja-build %define CMAKE_FLAGS -GNinja -%if 0%{?fedora} >= 33 +%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9 %define make_jobs ninja-build -C %{_vpath_builddir} -v %{?_smp_mflags} %define cmake_install DESTDIR=%{buildroot} ninja-build -C %{_vpath_builddir} install %else @@ -646,6 +646,9 @@ fi %endif %changelog +* Mon Jan 25 2021 Honggang Li - 33.0-3 +- Fix ELN build issue + * Thu Jan 21 2021 Honggang Li - 33.0-2 - libibverbs obsoletes libibverbs-core for fedora-34