diff --git a/python-s3transfer.spec b/python-s3transfer.spec index b0ddc8af8591d5a92844f5499ede82a0a9fcd904..c80c76f46117a78176cd5b963fa3faf2da81c621 100644 --- a/python-s3transfer.spec +++ b/python-s3transfer.spec @@ -1,29 +1,30 @@ -%global commit 5a0117a8e848aebc8a0cb1f2f62c016ff8eec481568ba6714c48e23a01c1 +%global srcname s3transfer %global _description \ S3transfer is a Python library for managing Amazon S3 transfers. -Name: python-s3transfer -Version: 0.3.0 -Release: 1 -Summary: Amazon S3 Transfer Manager +Name: python-%{srcname} +Version: 0.3.4 +Release: 2 +Summary: Amazon S3 Transfer Manager -License: ASL 2.0 -URL: https://pypi.org/project/s3transfer/ -Source0: https://files.pythonhosted.org/packages/43/bf/%{commit}/s3transfer-%{version}.tar.gz -BuildArch: noarch +License: ASL 2.0 +URL: https://pypi.org/project/s3transfer/ +Source0: https://files.pythonhosted.org/packages/43/bf/%{commit}/s3transfer-%{version}.tar.gz +BuildArch: noarch %description %{_description} -%package -n python3-s3transfer -Summary: %{summary} -BuildRequires: python3-devel python3-setuptools +%package -n python3-%{srcname} +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: python3-setuptools -%description -n python3-s3transfer %{_description} +%description -n python3-%{srcname} %{_description} Python 3 version. %prep -%autosetup -n s3transfer-%{version} +%autosetup -n %{srcname}-%{version} rm -vrf *.egg-info %build @@ -32,13 +33,17 @@ rm -vrf *.egg-info %install %py3_install -%files -n python3-s3transfer +%files -n python3-%{srcname} %license LICENSE.txt %doc README.rst -%{python3_sitelib}/s3transfer/ -%{python3_sitelib}/s3transfer-*.egg-info/ +%{python3_sitelib}/%{srcname}/ +%{python3_sitelib}/%{srcname}-*.egg-info/ %changelog + +* Wed Jul 07 2021 weishaokun - 0.3.4 +- update package to 0.3.4 + * Tue Nov 17 2020 leiju - 0.3.0-1 - Update to 0.3.0 diff --git a/s3transfer-0.3.0.tar.gz b/s3transfer-0.3.0.tar.gz deleted file mode 100644 index f07733aa0c5d935360bc7b9732f4373c3f8b3576..0000000000000000000000000000000000000000 Binary files a/s3transfer-0.3.0.tar.gz and /dev/null differ diff --git a/s3transfer-0.3.4.tar.gz b/s3transfer-0.3.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..1887307f16b26bdacd3ebbe140351bd94f1f2cc5 Binary files /dev/null and b/s3transfer-0.3.4.tar.gz differ