!1 Init python-s3transfer project
From: @jxy_git Reviewed-by: @shinwell_hu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
f2a203f8c8
45
python-s3transfer.spec
Normal file
45
python-s3transfer.spec
Normal file
@ -0,0 +1,45 @@
|
||||
%global srcname s3transfer
|
||||
%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
|
||||
|
||||
License: ASL 2.0
|
||||
URL: https://pypi.org/project/s3transfer/
|
||||
Source0: %{pypi_source}
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
Summary: %{summary}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
|
||||
%description -n python3-%{srcname} %{_description}
|
||||
|
||||
Python 3 version.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{srcname}-%{version}
|
||||
rm -vrf *.egg-info
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%files -n python3-%{srcname}
|
||||
%license LICENSE.txt
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/%{srcname}/
|
||||
%{python3_sitelib}/%{srcname}-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Fri Oct 30 2020 jiangxinyu <jiangxinyu@kylinos.cn> - 0.2.1-1
|
||||
- Init python-s3transfer project
|
||||
BIN
s3transfer-0.2.1.tar.gz
Normal file
BIN
s3transfer-0.2.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user