Hello community,
here is the log from the commit of package python-paramiko for openSUSE:Factory
checked in at 2019-03-29 20:34:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-paramiko (Old)
and /work/SRC/openSUSE:Factory/.python-paramiko.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-paramiko"
Fri Mar 29 20:34:19 2019 rev:44 rq:684702 version:2.4.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-paramiko/python-paramiko.changes
2019-02-17 12:19:03.680238144 +0100
+++
/work/SRC/openSUSE:Factory/.python-paramiko.new.25356/python-paramiko.changes
2019-03-29 20:34:28.142631743 +0100
@@ -1,0 +2,6 @@
+Wed Mar 13 14:01:04 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Run tests verbosely
+- Drop cert_support.tar.gz as it is currently properly in the release
+
+-------------------------------------------------------------------
Old:
----
cert_support.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-paramiko.spec ++++++
--- /var/tmp/diff_new_pack.wq7xpR/_old 2019-03-29 20:34:30.002631857 +0100
+++ /var/tmp/diff_new_pack.wq7xpR/_new 2019-03-29 20:34:30.006631858 +0100
@@ -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 @@
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-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 @@
# 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 @@
%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