Make ocaml-ounit dependency conditional on !RHEL.

It's only needed to run some unit tests.
This commit is contained in:
Richard W.M. Jones 2021-03-18 13:24:45 +00:00
parent 0ef32f9020
commit 65fcab520f

View File

@ -71,7 +71,9 @@ BuildRequires: ocaml-findlib-devel
BuildRequires: ocaml-libguestfs-devel
BuildRequires: ocaml-fileutils-devel
BuildRequires: ocaml-gettext-devel
%if !0%{?rhel}
BuildRequires: ocaml-ounit-devel
%endif
BuildRequires: nbdkit-python-plugin