From 61dbacf58a69bb9a26d108b607965d218b3502b75b7972d606c6574098ea9f7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 4 Nov 2019 08:23:40 +0000 Subject: [PATCH] Accepting request 745002 from home:mnhauke - Update to version 0.4.0 * Ensure server_cert_validation=ignore supersedes ca_trust_path/env overrides. * Added deprecated warnings if CA trusts defined by environment variables are used. * Set minimum version of requests-credssp to support Kerberos auth over CredSSP and other changes. * Added proxy support where it can be defined within the application, with the ability to specify the proxy within the application. * Fix for shell not setting all environment variables. * Fix session clixml encoding on Python 3. * Protocol.close_shell(shell_id) will now close the session(and TCP connections) to the Windows machine. close_session option has been added in case of leaving the session alone. * Add a function to send input to a running process. - Use tarball from github instead of pypi - Drop not longer needed file LICENSE (it's part of the upstream tarball - Add %{python_module kerberos} to BuildRequires since it's used in some tests OBS-URL: https://build.opensuse.org/request/show/745002 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pywinrm?expand=0&rev=7 --- LICENSE | 19 ------------------- python-pywinrm.changes | 25 +++++++++++++++++++++++++ python-pywinrm.spec | 10 ++++------ pywinrm-0.3.0.tar.gz | 3 --- pywinrm-0.4.0.tar.gz | 3 +++ 5 files changed, 32 insertions(+), 28 deletions(-) delete mode 100644 LICENSE delete mode 100644 pywinrm-0.3.0.tar.gz create mode 100644 pywinrm-0.4.0.tar.gz diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 0453dab..0000000 --- a/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2013 Alexey Diyan - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/python-pywinrm.changes b/python-pywinrm.changes index 3c82aa0..3cd80e7 100644 --- a/python-pywinrm.changes +++ b/python-pywinrm.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sun Nov 3 14:20:27 UTC 2019 - Martin Hauke + +- Update to version 0.4.0 + * Ensure server_cert_validation=ignore supersedes + ca_trust_path/env overrides. + * Added deprecated warnings if CA trusts defined by environment + variables are used. + * Set minimum version of requests-credssp to support Kerberos + auth over CredSSP and other changes. + * Added proxy support where it can be defined within the + application, with the ability to specify the proxy within the + application. + * Fix for shell not setting all environment variables. + * Fix session clixml encoding on Python 3. + * Protocol.close_shell(shell_id) will now close the session(and + TCP connections) to the Windows machine. close_session option + has been added in case of leaving the session alone. + * Add a function to send input to a running process. +- Use tarball from github instead of pypi +- Drop not longer needed file LICENSE (it's part of the upstream + tarball +- Add %{python_module kerberos} to BuildRequires since it's used + in some tests + ------------------------------------------------------------------- Tue Dec 4 12:53:23 UTC 2018 - Matej Cepl diff --git a/python-pywinrm.spec b/python-pywinrm.spec index 1dcf701..46c37ed 100644 --- a/python-pywinrm.spec +++ b/python-pywinrm.spec @@ -1,7 +1,7 @@ # # spec file for package python-pywinrm # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pywinrm -Version: 0.3.0 +Version: 0.4.0 Release: 0 Summary: Python library for Windows Remote Management License: MIT Group: Development/Languages/Python URL: http://github.com/diyan/pywinrm/ -Source: https://files.pythonhosted.org/packages/source/p/pywinrm/pywinrm-%{version}.tar.gz -Source1: https://raw.githubusercontent.com/diyan/pywinrm/master/LICENSE +Source: https://github.com/diyan/pywinrm/archive/v%{version}.tar.gz#/pywinrm-%{version}.tar.gz +BuildRequires: %{python_module kerberos} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.9.1} @@ -56,8 +56,6 @@ Microsoft's WinRM http://msdn.microsoft.com/en-us/library/aa384426.aspx %prep %setup -q -n pywinrm-%{version} -# FIXME - License should be included in the pypi tarball -cp %{SOURCE1} . %build %python_build diff --git a/pywinrm-0.3.0.tar.gz b/pywinrm-0.3.0.tar.gz deleted file mode 100644 index 27ebb2d..0000000 --- a/pywinrm-0.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:799fc3e33fec8684443adf5778860388289102ea4fa1458f1bf307d167855573 -size 25175 diff --git a/pywinrm-0.4.0.tar.gz b/pywinrm-0.4.0.tar.gz new file mode 100644 index 0000000..9c03131 --- /dev/null +++ b/pywinrm-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84bc6975bdb4446211b5dfac9f23a223ebb97d6e7393772eec86ca314ee173c2 +size 39798