%global srcname botocore-2 Name: python-%{srcname} # NOTICE - Updating this package requires updating python-boto3 Version: 2.0.0dev7 Release: 1%{?dist} Summary: Low-level, data-driven core of boto 3 License: ASL 2.0 URL: https://github.com/boto/botocore Source0: %{url}/archive/v2/%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch %description A low-level interface to a growing number of Amazon Web Services. The botocore package is the foundation for the AWS CLI version 2 as well as boto3. Supports aws-cli-2. %package -n python3-%{srcname} Summary: Low-level, data-driven core of boto 3 BuildRequires: python3-devel BuildRequires: python3-setuptools Obsoletes: python3-botocore <= 1 %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} Version 2 of the low-level interface to a growing number of Amazon Web Services. The botocore package is the foundation for the AWS CLI as well as boto3.. %prep %autosetup -c -n %{srcname}-%{version} cd %{srcname} # rm -vr %{srcname}.egg-info # Remove online tests rm -vr tests/integration %build cd %{srcname} %py3_build %install cd %{srcname} %py3_install %files -n python3-%{srcname} %doc %{srcname}/README.rst %license %{srcname}/LICENSE.txt %dir %{python3_sitelib}/botocore %dir %{python3_sitelib}/botocore-*.egg-info/ %{python3_sitelib}/botocore/* %{python3_sitelib}/botocore-*.egg-info/* %changelog * Fri Mar 13 2020 David Duncan - 2.0.0dev7-1 - Initial Commit for botocore version 2