- Fix build without python2 present
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-boto3?expand=0&rev=61
This commit is contained in:
parent
d1d150b60c
commit
c5776bf599
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 16 10:18:55 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix build without python2 present
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 17 17:46:35 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
@ -17,12 +17,12 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-boto3
|
||||
Version: 1.12.0
|
||||
Release: 0
|
||||
Summary: Amazon Web Services Library
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/boto/boto3
|
||||
Source: https://github.com/boto/boto3/archive/%{version}.tar.gz
|
||||
# Related test dependencies
|
||||
@ -48,9 +48,11 @@ BuildArch: noarch
|
||||
# We need the ssl module, which is delivers by python and not python-base
|
||||
BuildRequires: python
|
||||
%endif
|
||||
%if %{with python2}
|
||||
BuildRequires: python-futures
|
||||
%endif
|
||||
%ifpython2
|
||||
BuildRequires: python2-futures
|
||||
Requires: python2-futures
|
||||
Requires: python-futures
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user