!3 Package init
From: @lyn1001 Reviewed-by: @hht8,@shinwell_hu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
d9be0ec61d
BIN
1.19.17.tar.gz
Normal file
BIN
1.19.17.tar.gz
Normal file
Binary file not shown.
41
python-botocore.spec
Normal file
41
python-botocore.spec
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
%global pypi_name botocore
|
||||||
|
Name: python-%{pypi_name}
|
||||||
|
Version: 1.19.17
|
||||||
|
Release: 1
|
||||||
|
Summary: Low-level, data-driven core of boto 3
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: https://github.com/boto/botocore
|
||||||
|
Source0: https://github.com/boto/botocore/archive/%{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 as well as boto3.
|
||||||
|
|
||||||
|
%package -n python3-%{pypi_name}
|
||||||
|
Summary: Low-level, data-driven core of boto 3
|
||||||
|
BuildRequires: python3-devel python3-setuptools
|
||||||
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||||
|
Requires: python3-jmespath
|
||||||
|
%description -n python3-%{pypi_name}
|
||||||
|
A 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 -n %{pypi_name}-%{version}
|
||||||
|
rm -vr tests/integration
|
||||||
|
|
||||||
|
%build
|
||||||
|
%py3_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%py3_install
|
||||||
|
|
||||||
|
%files -n python3-%{pypi_name}
|
||||||
|
%doc README.rst
|
||||||
|
%license LICENSE.txt
|
||||||
|
%{python3_sitelib}/%{pypi_name}/
|
||||||
|
%{python3_sitelib}/%{pypi_name}-*.egg-info/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Nov 16 2020 yanan li <liyanan32@huawei.com> - 1.19.17-1
|
||||||
|
- Package init
|
||||||
5
python-botocore.yaml
Normal file
5
python-botocore.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: https://github.com/boto/botocore.git
|
||||||
|
version_control: github
|
||||||
|
src_repo: boto/botocore
|
||||||
|
tag_prefix: ""
|
||||||
|
separator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user