Fix it, removing the patch :)
This commit is contained in:
parent
98c0c0bca2
commit
67a8460c70
@ -22,8 +22,6 @@ URL: https://github.com/boto/s3transfer
|
||||
# - 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
|
||||
# This patch is the result of https://github.com/boto/s3transfer/issues/8
|
||||
Patch0: s3transfer-remove_online_tests.patch
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
@ -68,7 +66,7 @@ S3transfer is a Python library for managing Amazon S3 transfers.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pypi_name}-%{version}
|
||||
%patch0 -p1
|
||||
rm -rf tests/integration
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
@ -105,8 +103,8 @@ S3transfer is a Python library for managing Amazon S3 transfers.
|
||||
|
||||
%changelog
|
||||
* Wed Feb 24 2016 Fabio Alessandro Locati <fabio@locati.cc> - 0.0.1-3
|
||||
- Hugely reduce and clean the patch
|
||||
- Cleanup the spec a little bit
|
||||
- Remove patch
|
||||
|
||||
* Tue Feb 23 2016 Fabio Alessandro Locati <fabio@locati.cc> - 0.0.1-2
|
||||
- Add patch to remove tests needing web connection
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -Naur s3transfer-0.0.1.orig/setup.py s3transfer-0.0.1/setup.py
|
||||
--- s3transfer-0.0.1.orig/setup.py 2016-02-24 18:39:51.714517811 +0100
|
||||
+++ s3transfer-0.0.1/setup.py 2016-02-24 23:47:01.342562454 +0100
|
||||
@@ -33,7 +33,7 @@
|
||||
long_description=open('README.rst').read(),
|
||||
author='Amazon Web Services',
|
||||
url='https://github.com/boto/s3transfer',
|
||||
- packages=find_packages(exclude=['tests*']),
|
||||
+ packages=find_packages(exclude=['tests/unit']),
|
||||
install_requires=requires,
|
||||
extras_require={
|
||||
':python_version=="2.6" or python_version=="2.7"': [
|
Loading…
Reference in New Issue
Block a user