force python3 if that's all we're building
This commit is contained in:
parent
3703c24495
commit
b976e222fc
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue