Enable python3 on RHEL8 build

Fixes: #968
This commit is contained in:
Franz Chih-Ping Hsieh 2018-06-12 23:34:04 -04:00 committed by Mike McLean
parent 797449d146
commit d1d5a14cfc

View file

@ -1,5 +1,5 @@
# Enable Python 3 builds for Fedora
%if 0%{?fedora}
# Enable Python 3 builds for Fedora/RHEL8
%if 0%{?fedora} || 0%{?rhel} >= 8
%bcond_without python3
# If the definition isn't available for python3_pkgversion, define it
%{?!python3_pkgversion:%global python3_pkgversion 3}