Accepting request 784636 from devel:languages:python:aws

- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/784636
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-s3transfer?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2020-03-26 23:22:51 +00:00 committed by Git OBS Bridge
commit dd4f20902d
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 13 12:52:07 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
-------------------------------------------------------------------
Tue Mar 10 09:45:34 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-s3transfer
Version: 0.3.3
Release: 0
@ -33,7 +34,9 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module urllib3}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with python2}
BuildRequires: python2-futures >= 2.2.0
%endif
Requires: python-botocore <= 2.0.0
Requires: python-botocore >= 1.12.36
Requires: python-requests