Properly check valgrind and disable pandoc
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
b4f3a4cecd
commit
c8b78b9466
@ -1,6 +1,6 @@
|
|||||||
Name: rdma-core
|
Name: rdma-core
|
||||||
Version: 44.0
|
Version: 44.0
|
||||||
Release: %autorelease
|
Release: %autorelease -e 0.riscv64
|
||||||
Summary: RDMA core userspace libraries and daemons
|
Summary: RDMA core userspace libraries and daemons
|
||||||
|
|
||||||
# Almost everything is licensed under the OFA dual GPLv2, 2 Clause BSD license
|
# Almost everything is licensed under the OFA dual GPLv2, 2 Clause BSD license
|
||||||
@ -30,7 +30,9 @@ BuildRequires: pkgconfig
|
|||||||
BuildRequires: pkgconfig(libnl-3.0)
|
BuildRequires: pkgconfig(libnl-3.0)
|
||||||
BuildRequires: pkgconfig(libnl-route-3.0)
|
BuildRequires: pkgconfig(libnl-route-3.0)
|
||||||
BuildRequires: /usr/bin/rst2man
|
BuildRequires: /usr/bin/rst2man
|
||||||
|
%ifarch %{valgrind_arches}
|
||||||
BuildRequires: valgrind-devel
|
BuildRequires: valgrind-devel
|
||||||
|
%endif
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 8
|
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 8
|
||||||
@ -88,8 +90,10 @@ BuildRequires: make
|
|||||||
|
|
||||||
%if 0%{?fedora} >= 25 || 0%{?rhel} == 8
|
%if 0%{?fedora} >= 25 || 0%{?rhel} == 8
|
||||||
# pandoc was introduced in FC25, Centos8
|
# pandoc was introduced in FC25, Centos8
|
||||||
|
%ifnarch riscv64
|
||||||
BuildRequires: pandoc
|
BuildRequires: pandoc
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora} >= 34
|
%if 0%{?fedora} >= 34
|
||||||
# self obsoletes to remove i686 multilib package when updating to F34
|
# self obsoletes to remove i686 multilib package when updating to F34
|
||||||
|
Loading…
Reference in New Issue
Block a user