[libvirt] [PATCH 2/4] spec: Use Python 3 for building on Fedora

Andrea Bolognani abologna at redhat.com
Tue Mar 20 12:38:50 UTC 2018


On Tue, 2018-03-20 at 11:12 +0000, Daniel P. Berrangé wrote:
> On Tue, Mar 20, 2018 at 11:53:53AM +0100, Andrea Bolognani wrote:
> > While RHEL / CentOS are still using Python 2 for the time being,
> > Fedora has already switched to Python 3 as the default Python
> > interpreter a while ago, so on that OS it doesn't make sense to
> > drag in Python 2 anymore.
> 
> While current RHEL are py2, future RHEL should be expected to
> use Python 3 too
> 
[...]
> > +# Fedora can use Python 3, which unlike Python 2 is installed by default
> > +%if 0%{?fedora}
> 
> This should include "|| 0%{?rhel} > 7" too

I think we should cross that bridge when we come to it, eg. when a
RHEL release that uses Python 3 as the default Python is released.

We're probably going to have to go through the spec file and
reassess most package relationships at that point anyway.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list