forked from pool/python-paramiko
Accepting request 676196 from home:mimi_vx:branches:devel:languages:python
- drop python-pytest_relaxed dependency - add patches: 1311.patch - fix warnings 1379.patch - fix support for gssapi relaxed.patch - remove unnecessary pytest_relaxed dep - remove patch: disable-gssapi.patch - supersseded OBS-URL: https://build.opensuse.org/request/show/676196 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=81
This commit is contained in:
@@ -29,22 +29,25 @@ Source: https://files.pythonhosted.org/packages/source/p/paramiko/parami
|
||||
# certificates needed by testsuite
|
||||
Source1: cert_support.tar.gz
|
||||
Patch0: paramiko-test_extend_timeout.patch
|
||||
Patch1: disable-gssapi.patch
|
||||
Patch2: relaxed.patch
|
||||
Patch3: 1311.patch
|
||||
Patch4: 1379.patch
|
||||
BuildRequires: %{python_module PyNaCl >= 1.0.1}
|
||||
BuildRequires: %{python_module bcrypt >= 3.1.3}
|
||||
BuildRequires: %{python_module cryptography >= 1.1}
|
||||
BuildRequires: %{python_module cryptography >= 2.5}
|
||||
BuildRequires: %{python_module gssapi}
|
||||
BuildRequires: %{python_module pyasn1 >= 0.1.7}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Recommends: python-gssapi
|
||||
Requires: python-PyNaCl >= 1.0.1
|
||||
Requires: python-bcrypt >= 3.1.3
|
||||
Requires: python-cryptography >= 1.5
|
||||
Requires: python-cryptography >= 2.5
|
||||
Requires: python-pyasn1 >= 0.1.7
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest-relaxed}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
%python_subpackages
|
||||
@@ -70,8 +73,7 @@ This package contains the documentation.
|
||||
|
||||
%prep
|
||||
%setup -q -n paramiko-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%autopatch -p1
|
||||
# Fix non-executable script rpmlint issue:
|
||||
find demos -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \;
|
||||
tar xvzf %{SOURCE1} -C tests/
|
||||
|
||||
Reference in New Issue
Block a user