python-boto3/python-boto3.spec
2020-11-16 16:29:44 +08:00

46 lines
1.3 KiB
RPMSpec

%global pypi_name boto3
Name: python-%{pypi_name}
Version: 1.16.17
Release: 1
Summary: The AWS SDK for Python
License: ASL 2.0
URL: https://github.com/boto/boto3
Source0: https://github.com/boto/boto3/archive/%{version}.tar.gz
BuildArch: noarch
%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.
%package -n python3-%{pypi_name}
Summary: The AWS SDK for Python
BuildRequires: python3-devel python3-setuptools
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
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
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
* Mon Nov 16 2020 yanan li <liyanan32@huawei.com> - 1.16.17-1
- Package init