diff --git a/python-scp.changes b/python-scp.changes index cd16c34..8b48e78 100644 --- a/python-scp.changes +++ b/python-scp.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Mar 13 13:52:24 UTC 2019 - Tomáš Chvátal + +- Update to 0.13.1: + * Guard against some malformed messages from the server + * Remove all introspection logic for progress callback introduced in 0.12 + * progress callback only accept 3 arguments again + * Introduce progress4 parameter which accepts the peername as 4th argument + * Fix progress callback failing when it is an instance or class method + * Fix README.rst for PyPI + * Add possibility of getting the peer IP and port from the progress callback + * Make putfo() work with file-like objects that don't provide getvalue() + * Add putfo() method, allowing one to upload a file-like object + * Add top-level get() and put() functions for convenience + * Increase default socket time from 5 to 10 seconds + ------------------------------------------------------------------- Tue Dec 4 12:54:01 UTC 2018 - Matej Cepl diff --git a/python-scp.spec b/python-scp.spec index 5806e63..f4f14b4 100644 --- a/python-scp.spec +++ b/python-scp.spec @@ -1,7 +1,7 @@ # # spec file for package python-scp # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -18,22 +18,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-scp -Version: 0.10.2 +Version: 0.13.0 Release: 0 Summary: SSH scp module for paramiko License: LGPL-2.1-or-later Group: Development/Languages/Python URL: https://github.com/jbardin/scp.py Source: https://files.pythonhosted.org/packages/source/s/scp/scp-%{version}.tar.gz +BuildRequires: %{python_module paramiko} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-paramiko BuildArch: noarch -%if %{with test} -BuildRequires: %{python_module paramiko} -%endif %python_subpackages %description @@ -49,6 +47,11 @@ and has only been tested with this implementation. %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +# tests require running ssh server +#%%python_exec -m unittest discover %files %{python_files} %license LICENSE.txt diff --git a/scp-0.10.2.tar.gz b/scp-0.10.2.tar.gz deleted file mode 100644 index e94dfd0..0000000 --- a/scp-0.10.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:18f59e48df67fac0b069591609a0f4d50d781a101ddb8ec705f0c2e3501a8386 -size 6230 diff --git a/scp-0.13.0.tar.gz b/scp-0.13.0.tar.gz new file mode 100644 index 0000000..d9b63b2 --- /dev/null +++ b/scp-0.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfcc275c249ae59480f88fa55c4bd7795ce8b48d3a9b8fd635d82958084b4124 +size 11323