diff --git a/cert_support.tar.gz b/cert_support.tar.gz deleted file mode 100644 index c4d2154..0000000 --- a/cert_support.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12795b0b9f5ec2fd1c4458564823df4c089018e56e9c3f911d7a1eff6652993c -size 4970 diff --git a/python-paramiko.changes b/python-paramiko.changes index 6407c6c..ca0e836 100644 --- a/python-paramiko.changes +++ b/python-paramiko.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 13 14:01:04 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-paramiko.spec b/python-paramiko.spec index ef98344..d7d408d 100644 --- a/python-paramiko.spec +++ b/python-paramiko.spec @@ -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