diff --git a/python-oci-sdk.changes b/python-oci-sdk.changes index 248bdc0..64fb9a8 100644 --- a/python-oci-sdk.changes +++ b/python-oci-sdk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 23 10:38:47 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + ------------------------------------------------------------------- Mon Mar 16 10:41:25 UTC 2020 - John Paul Adrian Glaubitz diff --git a/python-oci-sdk.spec b/python-oci-sdk.spec index 02c0aa9..d3fca83 100644 --- a/python-oci-sdk.spec +++ b/python-oci-sdk.spec @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-oci-sdk Version: 2.11.0 Release: 0 @@ -55,7 +56,7 @@ BuildRequires: %{python_module pytz >= 2016.10} BuildRequires: %{python_module requests} BuildRequires: %{python_module six} BuildRequires: %{python_module vcrpy} -%ifpython2 +%if %{with python2} BuildRequires: python-configparser >= 3.5.0 %endif # /SECTION