!13 Update package
From: @liqiuyu123 Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
b96e2790e1
Binary file not shown.
BIN
boto3-1.24.89.tar.gz
Normal file
BIN
boto3-1.24.89.tar.gz
Normal file
Binary file not shown.
@ -1,51 +1,82 @@
|
|||||||
%global pypi_name boto3
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-%{pypi_name}
|
Name: python-boto3
|
||||||
Version: 1.21.7
|
Version: 1.24.89
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: The AWS SDK for Python
|
Summary: The AWS SDK for Python
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/boto/boto3
|
URL: https://github.com/boto/boto3
|
||||||
Source0: https://files.pythonhosted.org/packages/ff/fd/c25bdb2515c92c0e4e9d66d157e5275aee35f055f92b540e5e557ae56f9a/boto3-1.21.7.tar.gz
|
Source0: https://files.pythonhosted.org/packages/97/a0/20dd887905e5056c597c959a0adb452d88aac992418578e18567e2109f23/boto3-1.24.89.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
%description
|
||||||
Boto3 is the Amazon Web Services (AWS) Software Development
|
Boto3 is the Amazon Web Services (AWS) Software Development
|
||||||
Kit (SDK) for Python, which allows Python developers to
|
Kit (SDK) for Python, which allows Python developers to
|
||||||
write software that makes use of services like Amazon S3
|
write software that makes use of services like Amazon S3
|
||||||
and Amazon EC2.
|
and Amazon EC2.
|
||||||
|
|
||||||
%package -n python3-%{pypi_name}
|
%package -n python3-boto3
|
||||||
Summary: The AWS SDK for Python
|
Summary: The AWS SDK for Python
|
||||||
BuildRequires: python3-devel python3-setuptools
|
Provides: python-boto3
|
||||||
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-s3transfer
|
BuildRequires: python3-s3transfer
|
||||||
BuildRequires: python3-jmespath
|
BuildRequires: python3-jmespath
|
||||||
BuildRequires: python3-botocore
|
BuildRequires: python3-botocore
|
||||||
BuildRequires: python3-nose2
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-mock
|
%description -n python3-boto3
|
||||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
||||||
%description -n python3-%{pypi_name}
|
|
||||||
Boto3 is the Amazon Web Services (AWS) Software Development
|
Boto3 is the Amazon Web Services (AWS) Software Development
|
||||||
Kit (SDK) for Python, which allows Python developers to
|
Kit (SDK) for Python, which allows Python developers to
|
||||||
write software that makes use of services like Amazon S3
|
write software that makes use of services like Amazon S3
|
||||||
and Amazon EC2.
|
and Amazon EC2.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Development documents and examples for boto3
|
||||||
|
Provides: python3-boto3-doc
|
||||||
|
%description help
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pypi_name}-%{version}
|
%autosetup -n boto3-%{version}
|
||||||
rm -rf %{pypi_name}.egg-info
|
|
||||||
rm -rf tests/integration
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
pushd %{buildroot}
|
||||||
|
if [ -d usr/lib ]; then
|
||||||
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/lib64 ]; then
|
||||||
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/bin ]; then
|
||||||
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/sbin ]; then
|
||||||
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
touch doclist.lst
|
||||||
|
if [ -d usr/share/man ]; then
|
||||||
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||||
|
fi
|
||||||
|
popd
|
||||||
|
mv %{buildroot}/filelist.lst .
|
||||||
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%files -n python3-boto3 -f filelist.lst
|
||||||
%doc README.rst
|
%dir %{python3_sitelib}/*
|
||||||
%license LICENSE
|
|
||||||
%{python3_sitelib}/%{pypi_name}/
|
%files help -f doclist.lst
|
||||||
%{python3_sitelib}/%{pypi_name}-%{version}-*.egg-info/
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 13 2022 liqiuyu <liqiuyu@kylinos.cn> - 1.24.89-1
|
||||||
|
- Upgrade package to version 1.24.89
|
||||||
|
|
||||||
* Tue Jul 5 2022 caodongxia <caodongxia@h-partners.com> - 1.21.7-1
|
* Tue Jul 5 2022 caodongxia <caodongxia@h-partners.com> - 1.21.7-1
|
||||||
- Update to 1.21.7
|
- Update to 1.21.7
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user