diff --git a/python-google-api-core.changes b/python-google-api-core.changes index 830f920..b25d696 100644 --- a/python-google-api-core.changes +++ b/python-google-api-core.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 20 11:56:55 UTC 2020 - Tomáš Chvátal + +- Fix condition for py2 only packages + ------------------------------------------------------------------- Wed Apr 8 07:20:04 UTC 2020 - Marketa Calabkova diff --git a/python-google-api-core.spec b/python-google-api-core.spec index dc3a5d9..c7ca642 100644 --- a/python-google-api-core.spec +++ b/python-google-api-core.spec @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-google-api-core Version: 1.16.0 Release: 0 @@ -48,7 +49,7 @@ Requires: python-setuptools >= 34.0.0 Requires: python-six >= 1.10.0 Suggests: python-grpcio-gcp >= 0.2.2 BuildArch: noarch -%ifpython2 +%if %{with python2} BuildRequires: python2-enum34 BuildRequires: python2-futures >= 3.2.0 %endif