From 65fcab520f704bee13494fdc2def179b09be1b3a Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 18 Mar 2021 13:24:45 +0000 Subject: [PATCH] Make ocaml-ounit dependency conditional on !RHEL. It's only needed to run some unit tests. --- virt-v2v.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/virt-v2v.spec b/virt-v2v.spec index a167b98..f41491c 100644 --- a/virt-v2v.spec +++ b/virt-v2v.spec @@ -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