forked from pool/python-google-auth-oauthlib
- Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth-oauthlib?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
9a59355387
commit
70ecdf4037
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 20 11:55:01 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix build without python2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 8 09:01:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user