[libvirt] [python PATCH] Fix RPM deps for centos 7

Andrea Bolognani abologna at redhat.com
Wed Dec 4 17:14:59 UTC 2019


On Wed, 2019-12-04 at 16:24 +0000, Daniel P. Berrangé wrote:
> +%if 0%{?rhel} == 7
> +BuildRequires: python36-nose
> +BuildRequires: python36-lxml
> +%else
>  BuildRequires: python3-nose
>  BuildRequires: python3-lxml
> +%endif

This should work just fine in an actual RHEL 7 machine, provided
that the user has installed the necessary Python 3 libraries through
EPEL and not for example Software Collections; I assume it would
simply fail to build in the latter case, which is not any worse than
what we had before.

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

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list