diff --git a/python-s3transfer.spec b/python-s3transfer.spec index 3f14837..b0ddc8a 100644 --- a/python-s3transfer.spec +++ b/python-s3transfer.spec @@ -1,31 +1,29 @@ -%global srcname s3transfer +%global commit 5a0117a8e848aebc8a0cb1f2f62c016ff8eec481568ba6714c48e23a01c1 %global _description \ S3transfer is a Python library for managing Amazon S3 transfers. -Name: python-%{srcname} -Version: 0.2.1 -Release: 1 -Summary: Amazon S3 Transfer Manager +Name: python-s3transfer +Version: 0.3.0 +Release: 1 +Summary: Amazon S3 Transfer Manager -License: ASL 2.0 -URL: https://pypi.org/project/s3transfer/ -Source0: %{pypi_source} - -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-%{srcname} -Summary: %{summary} -BuildRequires: python3-devel -BuildRequires: python3-setuptools +%package -n python3-s3transfer +Summary: %{summary} +BuildRequires: python3-devel python3-setuptools -%description -n python3-%{srcname} %{_description} +%description -n python3-s3transfer %{_description} Python 3 version. %prep -%autosetup -n %{srcname}-%{version} +%autosetup -n s3transfer-%{version} rm -vrf *.egg-info %build @@ -34,12 +32,15 @@ rm -vrf *.egg-info %install %py3_install -%files -n python3-%{srcname} +%files -n python3-s3transfer %license LICENSE.txt %doc README.rst -%{python3_sitelib}/%{srcname}/ -%{python3_sitelib}/%{srcname}-*.egg-info/ +%{python3_sitelib}/s3transfer/ +%{python3_sitelib}/s3transfer-*.egg-info/ %changelog +* Tue Nov 17 2020 leiju - 0.3.0-1 +- Update to 0.3.0 + * Fri Oct 30 2020 jiangxinyu - 0.2.1-1 - Init python-s3transfer project diff --git a/s3transfer-0.2.1.tar.gz b/s3transfer-0.2.1.tar.gz deleted file mode 100644 index 7514a2d..0000000 Binary files a/s3transfer-0.2.1.tar.gz and /dev/null differ diff --git a/s3transfer-0.3.0.tar.gz b/s3transfer-0.3.0.tar.gz new file mode 100644 index 0000000..f07733a Binary files /dev/null and b/s3transfer-0.3.0.tar.gz differ