diff --git a/python-google-auth-oauthlib.changes b/python-google-auth-oauthlib.changes index 2deea8a..b236cfa 100644 --- a/python-google-auth-oauthlib.changes +++ b/python-google-auth-oauthlib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 20 11:55:01 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + ------------------------------------------------------------------- Tue Oct 8 09:01:57 UTC 2019 - Tomáš Chvátal diff --git a/python-google-auth-oauthlib.spec b/python-google-auth-oauthlib.spec index 86f60e6..3a1b9ba 100644 --- a/python-google-auth-oauthlib.spec +++ b/python-google-auth-oauthlib.spec @@ -1,7 +1,7 @@ # # spec file for package python-google-auth-oauthlib # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-google-auth-oauthlib Version: 0.4.1 Release: 0 @@ -39,7 +40,9 @@ BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests-oauthlib >= 0.7.0} BuildRequires: %{python_module six} +%if %{with python2} BuildRequires: python-futures +%endif # /SECTION %ifpython2 Requires: python-futures