force python3 if that's all we're building

This commit is contained in:
Mike McLean 2019-02-12 21:12:01 -05:00
parent 3703c24495
commit b976e222fc

View file

@ -48,6 +48,11 @@
%define py3_support 0
%endif
%if ! %{py2_support}
# use python3
%define __python %{__python3}
%endif
# Compatibility with RHEL. These macros have been added to EPEL but
# not yet to RHEL proper.
# https://bugzilla.redhat.com/show_bug.cgi?id=1307190