# Created by pyp2rpm-3.2.2 %global pypi_name s3transfer Name: python-%{pypi_name} Version: 0.1.10 Release: 1%{?dist} Summary: An Amazon S3 Transfer Manager License: Apache License 2.0 URL: https://github.com/boto/s3transfer Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools %description s3transfer An Amazon S3 Transfer Manager for Python S3transfer is a Python library for managing Amazon S3 transfers... note:: This project is not currently GA. If you are planning to use this code in production, make sure to lock to a minor version as interfaces may break from minor version to minor version. For a basic, stable interface of s3transfer, try the interfaces exposed in boto3 < %package -n python2-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python2-%{pypi_name}} Requires: python-botocore < 2.0.0 Requires: python-botocore >= 1.3.0 Requires: python-futures >= 2.2.0 Requires: python-futures < 4.0.0 %description -n python2-%{pypi_name} s3transfer An Amazon S3 Transfer Manager for Python S3transfer is a Python library for managing Amazon S3 transfers... note:: This project is not currently GA. If you are planning to use this code in production, make sure to lock to a minor version as interfaces may break from minor version to minor version. For a basic, stable interface of s3transfer, try the interfaces exposed in boto3 < %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py2_build %install %py2_install %files -n python2-%{pypi_name} %license LICENSE.txt %doc README.rst %{python2_sitelib}/%{pypi_name} %{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog * Sun Jul 23 2017 Copr dist git - 0.1.10-1 - Initial package.