[libvirt-java PATCH 4/6] rpm: skip junit tests in RHEL-8 build

Andrea Bolognani abologna at redhat.com
Thu May 14 16:16:01 UTC 2020


On Tue, 2020-05-12 at 10:51 +0100, Daniel P. Berrangé wrote:
> +%if 0%{?rhel} != 8
>  BuildRequires:  ant-junit
> +%endif

This can probably be changed to

  %if 0%{?rhel} < 8

under the assumption that packages that have been dropped from RHEL
8 are probably not going to be re-introduced in later major releases.

> +%if 0%{?rhel} != 8
>  ant test
> +%endif

Same here.

With that changed,

  Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list