14
0

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
This commit is contained in:
Tomáš Chvátal
2019-11-04 08:23:40 +00:00
committed by Git OBS Bridge
parent f5c57095cb
commit 61dbacf58a
5 changed files with 32 additions and 28 deletions

View File

@@ -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