From 3f79bf0975fd22e4cc8eb01abe1d6b7621880d4b Mon Sep 17 00:00:00 2001 From: Jeroen van Meeuwen (Kolab Systems) Date: Mar 13 2019 12:36:33 +0000 Subject: Python 3 for EL8+ --- diff --git a/python-chameleon.spec b/python-chameleon.spec index 4a37d8c..8dbfe2a 100644 --- a/python-chameleon.spec +++ b/python-chameleon.spec @@ -4,7 +4,7 @@ %{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} >= 8 %global with_python3 1 %endif