|
|
@ -12,16 +12,13 @@
|
|
|
|
%global pypi_name s3transfer
|
|
|
|
%global pypi_name s3transfer
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
Version: 0.0.1
|
|
|
|
Version: 0.1.1
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: An Amazon S3 Transfer Manager
|
|
|
|
Summary: An Amazon S3 Transfer Manager
|
|
|
|
|
|
|
|
|
|
|
|
License: ASL 2.0
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://github.com/boto/s3transfer
|
|
|
|
URL: https://github.com/boto/s3transfer
|
|
|
|
# The pypi version still misses some key parts:
|
|
|
|
Source0: https://pypi.io/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
|
# - https://github.com/boto/s3transfer/issues/6
|
|
|
|
|
|
|
|
# - https://github.com/boto/s3transfer/issues/7
|
|
|
|
|
|
|
|
Source0: https://github.com/boto/%{pypi_name}/archive/%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: python2-devel
|
|
|
@ -32,6 +29,8 @@ BuildRequires: python-mock
|
|
|
|
BuildRequires: python-wheel
|
|
|
|
BuildRequires: python-wheel
|
|
|
|
BuildRequires: python-futures
|
|
|
|
BuildRequires: python-futures
|
|
|
|
BuildRequires: python2-botocore
|
|
|
|
BuildRequires: python2-botocore
|
|
|
|
|
|
|
|
BuildRequires: python2-coverage
|
|
|
|
|
|
|
|
BuildRequires: python2-unittest2
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
@ -40,6 +39,8 @@ BuildRequires: python3-nose
|
|
|
|
BuildRequires: python3-mock
|
|
|
|
BuildRequires: python3-mock
|
|
|
|
BuildRequires: python3-wheel
|
|
|
|
BuildRequires: python3-wheel
|
|
|
|
BuildRequires: python3-botocore
|
|
|
|
BuildRequires: python3-botocore
|
|
|
|
|
|
|
|
BuildRequires: python3-coverage
|
|
|
|
|
|
|
|
BuildRequires: python3-unittest2
|
|
|
|
%endif # with_python3
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -82,9 +83,11 @@ rm -rf tests/integration
|
|
|
|
%py2_install
|
|
|
|
%py2_install
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%{__python2} setup.py test
|
|
|
|
#%{__python2} setup.py test
|
|
|
|
|
|
|
|
nosetests-2.7 --with-coverage --cover-erase --cover-package s3transfer --with-xunit --cover-xml -v tests/unit/ tests/functional/
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%{__python3} setup.py test
|
|
|
|
#%{__python3} setup.py test
|
|
|
|
|
|
|
|
nosetests-3.5 --with-coverage --cover-erase --cover-package s3transfer --with-xunit --cover-xml -v tests/unit/ tests/functional/
|
|
|
|
%endif # with_python3
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python2-%{pypi_name}
|
|
|
|
%files -n python2-%{pypi_name}
|
|
|
@ -103,15 +106,21 @@ rm -rf tests/integration
|
|
|
|
%endif # with_python3
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Aug 04 2016 Fabio Alessandro Locati <fale@redhat.com> - 0.1.1-1
|
|
|
|
|
|
|
|
- Update to 0.1.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 02 2016 Fabio Alessandro Locati <fale@redhat.com> - 0.1.0-1
|
|
|
|
|
|
|
|
- Update to 0.1.0
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-4
|
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-4
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 24 2016 Fabio Alessandro Locati <fabio@locati.cc> - 0.0.1-3
|
|
|
|
* Wed Feb 24 2016 Fabio Alessandro Locati <fale@redhat.com> - 0.0.1-3
|
|
|
|
- Cleanup the spec a little bit
|
|
|
|
- Cleanup the spec a little bit
|
|
|
|
- Remove patch
|
|
|
|
- Remove patch
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 23 2016 Fabio Alessandro Locati <fabio@locati.cc> - 0.0.1-2
|
|
|
|
* Tue Feb 23 2016 Fabio Alessandro Locati <fale@redhat.com> - 0.0.1-2
|
|
|
|
- Add patch to remove tests needing web connection
|
|
|
|
- Add patch to remove tests needing web connection
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 23 2016 Fabio Alessandro Locati <fabio@locati.cc> - 0.0.1-1
|
|
|
|
* Tue Feb 23 2016 Fabio Alessandro Locati <fale@redhat.com> - 0.0.1-1
|
|
|
|
- Initial package.
|
|
|
|
- Initial package.
|
|
|
|