15
0

Accepting request 587595 from home:oertel:branches:devel:languages:python

- add paramiko-test_extend_timeout.patch (bsc#1085529)
  extend timeout in testsuite to pass on ppc64le

OBS-URL: https://build.opensuse.org/request/show/587595
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=71
This commit is contained in:
Tomáš Chvátal
2018-03-15 17:58:33 +00:00
committed by Git OBS Bridge
parent 899f25ae5d
commit 73ed2fe7e7
3 changed files with 19 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz
# certificates needed by testsuite
Source1: cert_support.tar.gz
Patch0: paramiko-test_extend_timeout.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{python_module PyNaCl >= 1.0.1}
BuildRequires: %{python_module bcrypt >= 3.1.3}
@@ -72,6 +73,7 @@ This package contains the documentation.
%prep
%setup -q -n paramiko-%{version}
%patch0 -p1
# Fix non-executable script rpmlint issue:
find demos -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \;
tar xvzf %{SOURCE1} -C tests/