RHEL9 will use prebuild doc

pandoc will be removed from RHEL9. That means we will have to use
prebuild doc.

Signed-off-by: Honggang Li <honli@redhat.com>
This commit is contained in:
Honggang Li 2021-03-08 20:37:18 -05:00
parent 8b300f2ddf
commit 3145cfa39a

View File

@ -1,6 +1,6 @@
Name: rdma-core
Version: 34.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: RDMA core userspace libraries and daemons
# Almost everything is licensed under the OFA dual GPLv2, 2 Clause BSD license
@ -82,7 +82,7 @@ BuildRequires: make
%define cmake_install DESTDIR=%{buildroot} make install
%endif
%if 0%{?fedora} >= 25 || 0%{?rhel} >= 8
%if 0%{?fedora} >= 25 || 0%{?rhel} == 8
# pandoc was introduced in FC25, Centos8
BuildRequires: pandoc
%endif
@ -653,6 +653,9 @@ fi
%endif
%changelog
* Mon Mar 08 2021 Honggang Li <honli@redhat.com> - 34.0-2
- RHEL9 will use prebuild doc
* Wed Mar 03 2021 Honggang Li <honli@redhat.com> - 34.0-1
- Rebase to upstream release v34.0