Compare commits

..

No commits in common. "e79b20d06cc0cff0bee08132600944a3bcfb7d34" and "5c3799ad64dfc362e0e293e6226c65c4ee181f9a" have entirely different histories.

3 changed files with 26 additions and 71 deletions

View File

@ -1,90 +1,44 @@
%global _empty_manifest_terminate_build 0
Name: python-s3transfer
Version: 0.10.0
Release: 1
Summary: An Amazon S3 Transfer Manager
License: Apache-2.0
URL: https://github.com/boto/s3transfer
Source0: https://files.pythonhosted.org/packages/source/s/s3transfer/s3transfer-%{version}.tar.gz
BuildArch: noarch
%description
%global commit 5a0117a8e848aebc8a0cb1f2f62c016ff8eec481568ba6714c48e23a01c1
%global _description \
S3transfer is a Python library for managing Amazon S3 transfers.
Name: python-s3transfer
Version: 0.5.0
Release: 1
Summary: Amazon S3 Transfer Manager
License: ASL 2.0
URL: https://pypi.org/project/s3transfer/
Source0: https://files.pythonhosted.org/packages/88/ef/4d1b3f52ae20a7e72151fde5c9f254cd83f8a49047351f34006e517e1655/s3transfer-0.5.0.tar.gz
BuildArch: noarch
%description %{_description}
%package -n python3-s3transfer
Summary: An Amazon S3 Transfer Manager
Provides: python-s3transfer = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-botocore
%description -n python3-s3transfer
S3transfer is a Python library for managing Amazon S3 transfers.
Summary: %{summary}
BuildRequires: python3-devel python3-setuptools
%package help
Summary: Development documents and examples for s3transfer
Provides: python3-s3transfer-doc
%description help
S3transfer is a Python library for managing Amazon S3 transfers.
%description -n python3-s3transfer %{_description}
Python 3 version.
%prep
%autosetup -n s3transfer-%{version}
rm -vrf *.egg-info
%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
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.txt ]; then cp -af README.txt %{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 -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%files -n python3-s3transfer
%license LICENSE.txt
%doc README.rst
%{python3_sitelib}/s3transfer/
%{python3_sitelib}/s3transfer-*.egg-info/
%changelog
* Thu Jan 11 2024 xu_ping <707078654@qq.com> - 0.10.0-1
- Update package to version 0.10.0
* Fri Nov 17 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.7.0-1
- Update package to version 0.7.0
* Fri May 05 2023 wubijie <wubijie@kylinos.cn> - 0.6.1-1
- Update package to version 0.6.1
* 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
- Upgrade for openstack yoga
* Fri Jan 21 2022 yangping <yangping69@huawei.com> - 0.5.0-1
- Package update to 0.5.0
@ -96,3 +50,4 @@ mv %{buildroot}/doclist.lst .
* Fri Oct 30 2020 jiangxinyu <jiangxinyu@kylinos.cn> - 0.2.1-1
- Init python-s3transfer project

Binary file not shown.

BIN
s3transfer-0.5.0.tar.gz Normal file

Binary file not shown.