1f73e94fb5
- Update to version 0.1.11: + Properly handle unicode exceptions in the context manager OBS-URL: https://build.opensuse.org/request/show/540358 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-s3transfer?expand=0&rev=5
64 lines
1.9 KiB
RPMSpec
64 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package python-s3transfer
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
Name: python-s3transfer
|
|
Version: 0.1.11
|
|
Release: 0
|
|
Summary: Python S3 transfer manager
|
|
License: Apache-2.0
|
|
Group: Development/Languages/Python
|
|
Url: https://github.com/boto/s3transfer
|
|
Source0: https://files.pythonhosted.org/packages/source/s/s3transfer/s3transfer-%{version}.tar.gz
|
|
Patch0: hide_py_pckgmgmt.patch
|
|
BuildRequires: %{python_module devel}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
Requires: python-botocore <= 2.0.0
|
|
Requires: python-botocore >= 1.4.10
|
|
%ifpython2
|
|
Requires: python-futures <= 4.0.0
|
|
Requires: python-futures >= 2.2.0
|
|
%endif
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
%python_subpackages
|
|
|
|
%description
|
|
A transfer manager for Amazon Web Services S3
|
|
|
|
%prep
|
|
%setup -q -n s3transfer-%{version}
|
|
%patch0
|
|
|
|
%build
|
|
%python_build
|
|
|
|
%install
|
|
%python_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%files %{python_files}
|
|
%defattr(-,root,root,-)
|
|
%doc LICENSE.txt README.rst
|
|
%{python_sitelib}/s3transfer/
|
|
%{python_sitelib}/s3transfer-%{version}-py*.egg-info
|
|
|
|
%changelog
|