forked from C2Devel/boto3
-
Notifications
You must be signed in to change notification settings - Fork 1
/
python-boto3.spec
63 lines (50 loc) · 1.89 KB
/
python-boto3.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
%global pkgname boto3
%define buildid @BUILDID@
Name: python-%{pkgname}
Version: 1.17.14
Release: CROC3%{?buildid}%{?dist}
Summary: The AWS SDK for Python
License: ASL 2.0
URL: https://github.com/C2Devel/boto3.git
Source0: https://pypi.io/packages/source/b/boto3/boto3-%{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 python%{python3_pkgversion}-%{pkgname}
Requires: python%{python3_pkgversion}-botocore >= 1.20.14
Requires: python%{python3_pkgversion}-jmespath >= 0.7.1
Requires: python%{python3_pkgversion}-s3transfer >= 0.3.0
Summary: The AWS SDK for Python
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
Provides: python%{python3_pkgversion}-%{pkgname}
%description -n python%{python3_pkgversion}-%{pkgname}
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 %{pkgname}-%{version}
rm -rf %{pkgname}.egg-info
# Remove online tests
rm -rf tests/integration
%build
%py3_build
%install
%py3_install
%files -n python%{python3_pkgversion}-%{pkgname}
%defattr(-,root,root,-)
%doc README.rst
%license LICENSE
%{python3_sitelib}/%{pkgname}
%{python3_sitelib}/%{pkgname}-%{version}-*.egg-info
%changelog
* Fri Sep 24 2021 Alex Rudenko <[email protected]> - 1.17.14-CROC3
- spec: remove build for py2
* Fri Jul 02 2021 Andrey Kulaev <[email protected]> - 1.17.14-CROC2
- Replace botocore dependency with croc version
* Wed Feb 24 2021 Alexander Chernev <[email protected]> - 1.17.14-CROC1
- Update to latest boto3 - 1.17.14