Avoid pandoc dependency in RHEL builds
This commit is contained in:
parent
490b4ed43b
commit
bffb41de96
13
nvml.spec
13
nvml.spec
@ -26,6 +26,12 @@
|
||||
# pmemcheck is not packaged by Fedora
|
||||
%bcond_with pmemcheck
|
||||
|
||||
%if 0%{?rhel}
|
||||
%bcond_with pandoc
|
||||
%else
|
||||
%bcond_without pandoc
|
||||
%endif
|
||||
|
||||
%define min_libfabric_ver 1.4.2
|
||||
%define min_ndctl_ver 60.1
|
||||
%define upstreamversion 1.12.1
|
||||
@ -49,8 +55,6 @@ BuildRequires: automake
|
||||
BuildRequires: man
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3
|
||||
BuildRequires: pandoc
|
||||
BuildRequires: groff
|
||||
BuildRequires: cmake
|
||||
|
||||
%if %{with ndctl}
|
||||
@ -63,6 +67,11 @@ BuildRequires: ndctl
|
||||
BuildRequires: libfabric-devel >= %{min_libfabric_ver}
|
||||
%endif
|
||||
|
||||
%if %{with pandoc}
|
||||
BuildRequires: groff
|
||||
BuildRequires: pandoc
|
||||
%endif
|
||||
|
||||
# for tests
|
||||
BuildRequires: gdb
|
||||
BuildRequires: bc
|
||||
|
||||
Loading…
Reference in New Issue
Block a user