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 <honli@redhat.com>
This commit is contained in:
parent
4e8f1a588f
commit
6495ad1e5e
@ -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 <honli@redhat.com> - 33.0-3
|
||||
- Fix ELN build issue
|
||||
|
||||
* Thu Jan 21 2021 Honggang Li <honli@redhat.com> - 33.0-2
|
||||
- libibverbs obsoletes libibverbs-core for fedora-34
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user