Upgrade package to version 0.6.0

This commit is contained in:
Gzx1999 2022-09-24 11:24:31 +08:00
parent 72d8d46789
commit 67ab61bc82
3 changed files with 57 additions and 25 deletions

View File

@ -1,44 +1,76 @@
%global commit 5a0117a8e848aebc8a0cb1f2f62c016ff8eec481568ba6714c48e23a01c1 %global _empty_manifest_terminate_build 0
%global _description \
S3transfer is a Python library for managing Amazon S3 transfers.
Name: python-s3transfer Name: python-s3transfer
Version: 0.5.2 Version: 0.6.0
Release: 1 Release: 1
Summary: Amazon S3 Transfer Manager Summary: An Amazon S3 Transfer Manager
License: Apache-2.0
License: ASL 2.0 URL: https://github.com/boto/s3transfer
URL: https://pypi.org/project/s3transfer/ Source0: https://files.pythonhosted.org/packages/e1/eb/e57c93d5cd5edf8c1d124c831ef916601540db70acd96fa21fe60cef1365/s3transfer-0.6.0.tar.gz
Source0: https://files.pythonhosted.org/packages/7e/19/f82e4af435a19b28bdbfba63f338ea20a264f4df4beaf8f2ab9bfa34072b/s3transfer-0.5.2.tar.gz
BuildArch: noarch BuildArch: noarch
%description %{_description} Requires: python3-botocore
%description
S3transfer is a Python library for managing Amazon S3 transfers.
%package -n python3-s3transfer %package -n python3-s3transfer
Summary: %{summary} Summary: An Amazon S3 Transfer Manager
BuildRequires: python3-devel python3-setuptools Provides: python-s3transfer
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-s3transfer
S3transfer is a Python library for managing Amazon S3 transfers.
%description -n python3-s3transfer %{_description} %package help
Summary: Development documents and examples for s3transfer
Python 3 version. Provides: python3-s3transfer-doc
%description help
S3transfer is a Python library for managing Amazon S3 transfers.
%prep %prep
%autosetup -n s3transfer-%{version} %autosetup -n s3transfer-%{version}
rm -vrf *.egg-info
%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-s3transfer %files -n python3-s3transfer -f filelist.lst
%license LICENSE.txt %dir %{python3_sitelib}/*
%doc README.rst
%{python3_sitelib}/s3transfer/ %files help -f doclist.lst
%{python3_sitelib}/s3transfer-*.egg-info/ %{_docdir}/*
%changelog %changelog
* Sat Sep 24 2022 guozhengxin <guozhengxin@kylinos.cn> - 0.6.0-1
- Upgrade package to version 0.6.0
* Wed Jul 27 2022 liksh <liks11@chinaunicom.cn> - 0.5.2-1 * Wed Jul 27 2022 liksh <liks11@chinaunicom.cn> - 0.5.2-1
- Upgrade for openstack yoga - Upgrade for openstack yoga

Binary file not shown.

BIN
s3transfer-0.6.0.tar.gz Normal file

Binary file not shown.