%global _empty_manifest_terminate_build 0 Name: python-boto3 Version: 1.26.94 Release: 1 Summary: The AWS SDK for Python License: Apache-2.0 URL: https://github.com/boto/boto3 Source0: https://files.pythonhosted.org/packages/00/74/13c56870c2eaa4a806702e185332995b0e70ab9d613758e5bb997a97dc93/boto3-1.26.94.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-boto3 Summary: The AWS SDK for Python Provides: python-boto3 = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-s3transfer BuildRequires: python3-jmespath BuildRequires: python3-botocore BuildRequires: python3-setuptools %description -n python3-boto3 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 help Summary: Development documents and examples for boto3 Provides: python3-boto3-doc %description help 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 %autosetup -n boto3-%{version} %build %py3_build %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-boto3 -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Mon Mar 20 2023 wubijie - 1.26.94-1 - Update package to version 1.26.94 * Tue Feb 14 2023 wubijie - 1.26.70-1 - Update package to version 1.26.70 * Thu Dec 15 2022 liqiuyu - 1.26.30-1 - Update package to version 1.26.30 * Thu Nov 10 2022 liqiuyu - 1.26.6-1 - Upgrade package to version 1.26.6 * Thu Oct 13 2022 liqiuyu - 1.24.89-1 - Upgrade package to version 1.24.89 * Tue Jul 5 2022 caodongxia - 1.21.7-1 - Update to 1.21.7 * Wed Apr 6 2022 caodongxia - 1.20.3-1 - upgrade to v1.20.3 * Sun Jul 25 2021 OpenStack_SIG - 1.17.26-1 - update to 1.17.26 * Mon Nov 16 2020 yanan li - 1.16.17-1 - Package init