- Run tests verbosely
- Drop cert_support.tar.gz as it is currently properly in the release OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=84
This commit is contained in:
parent
93176392d0
commit
db55b7615d
BIN
cert_support.tar.gz
(Stored with Git LFS)
BIN
cert_support.tar.gz
(Stored with Git LFS)
Binary file not shown.
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 13 14:01:04 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Run tests verbosely
|
||||
- Drop cert_support.tar.gz as it is currently properly in the release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 14 20:49:56 UTC 2019 - Hans-Peter Jansen <hpj@urpla.net>
|
||||
|
||||
|
@ -17,7 +17,6 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-paramiko
|
||||
Version: 2.4.2
|
||||
Release: 0
|
||||
@ -26,8 +25,6 @@ License: LGPL-2.1-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: http://www.paramiko.org/
|
||||
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
|
||||
Patch2: relaxed.patch
|
||||
Patch3: 1311.patch
|
||||
@ -46,10 +43,8 @@ Requires: python-bcrypt >= 3.1.3
|
||||
Requires: python-cryptography >= 2.5
|
||||
Requires: python-pyasn1 >= 0.1.7
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -77,7 +72,6 @@ This package contains the documentation.
|
||||
|
||||
# Fix non-executable script rpmlint issue:
|
||||
find demos -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \;
|
||||
tar xvzf %{SOURCE1} -C tests/
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@ -86,11 +80,9 @@ tar xvzf %{SOURCE1} -C tests/
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
%python_expand pytest-%{$python_bin_suffix}
|
||||
%endif
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user