%global pypi_name boto3 %global py3_prefix python%{python3_pkgversion} Name: python3-%{pypi_name} Version: 1.13.6 Release: 1%{?dist} Summary: The AWS SDK for Python License: ASL 2.0 URL: https://github.com/boto/boto3 Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools %{?python_provide:%python_provide python3-%{pypi_name}} %description Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python, which allows Python developers to write software that makes use of services like Amazon S3 and Amazon EC2. %prep %setup -q -n %{pypi_name}-%{version} rm -rf %{pypi_name}.egg-info # Remove online tests rm -rf tests/integration %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %doc README.rst %license LICENSE %{python3_sitelib}/%{pypi_name}/ %{python3_sitelib}/%{pypi_name}-%{version}-*.egg-info/ %changelog * Sat Nov 28 2020 Felix Schwarz - 1.13.6-1 - initial EPEL package (based on Fedora spec file for python-boto3)