forked from pool/python-pywinrm
Accepting request 594019 from home:mnhauke
- Upgrade to version 0.3.0 * Added support for message encryption over HTTP when using NTLM/Kerberos/CredSSP * Added parameter to disable TLSv1.2 when using CredSSP for Server 2008 support * Error detail from SOAP fault (if present) is now included with HTTP 500 errors * Fixed CA path override (incl envvar) * Fixed Kerberos service override * Try harder to suppress urllib3 InsecureRequestWarnings on various OSs * Fixed timeout values to parse correctly if passed as strings * Various updates to CI/tests - Convert to singlespec OBS-URL: https://build.opensuse.org/request/show/594019 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pywinrm?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
9fbb7996c3
commit
111c7ae085
19
LICENSE
Normal file
19
LICENSE
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
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.
|
@@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 5 20:24:54 UTC 2018 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- Upgrade to version 0.3.0
|
||||||
|
* Added support for message encryption over HTTP when using NTLM/Kerberos/CredSSP
|
||||||
|
* Added parameter to disable TLSv1.2 when using CredSSP for Server 2008 support
|
||||||
|
* Error detail from SOAP fault (if present) is now included with HTTP 500 errors
|
||||||
|
* Fixed CA path override (incl envvar)
|
||||||
|
* Fixed Kerberos service override
|
||||||
|
* Try harder to suppress urllib3 InsecureRequestWarnings on various OSs
|
||||||
|
* Fixed timeout values to parse correctly if passed as strings
|
||||||
|
* Various updates to CI/tests
|
||||||
|
- Convert to singlespec
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 8 22:35:49 UTC 2017 - boris@steki.net
|
Wed Mar 8 22:35:49 UTC 2017 - boris@steki.net
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pywinrm
|
# spec file for package python-pywinrm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -13,29 +13,36 @@
|
|||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pywinrm
|
Name: python-pywinrm
|
||||||
# version in master branch is not updated and original 0.0.2dev is year old...
|
Version: 0.3.0
|
||||||
Version: 0.2.2
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python library for Windows Remote Management
|
Summary: Python library for Windows Remote Management
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://github.com/diyan/pywinrm/
|
URL: http://github.com/diyan/pywinrm/
|
||||||
Source0: https://pypi.io/packages/source/p/pywinrm/pywinrm-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pywinrm/pywinrm-%{version}.tar.gz
|
||||||
|
Source1: https://raw.githubusercontent.com/diyan/pywinrm/master/LICENSE
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module mock}
|
||||||
Requires: python-isodate
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module requests >= 2.9.1}
|
||||||
|
BuildRequires: %{python_module requests_ntlm >= 0.3.0}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module six}
|
||||||
|
BuildRequires: %{python_module xmltodict}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-requests >= 2.9.1
|
||||||
|
Requires: python-requests_ntlm >= 0.3.0
|
||||||
|
Requires: python-six
|
||||||
Requires: python-xmltodict
|
Requires: python-xmltodict
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Suggests: python-requests-credssp >= 0.0.1
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
Suggests: python-requests-kerberos >= 0.10.0
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
pywinrm is a Python client for Windows Remote Management (WinRM). This
|
pywinrm is a Python client for Windows Remote Management (WinRM). This
|
||||||
@@ -47,18 +54,24 @@ is not limited to, running batch scripts, powershell scripts and
|
|||||||
fetching WMI variables. For more information on WinRM, please visit
|
fetching WMI variables. For more information on WinRM, please visit
|
||||||
Microsoft's WinRM http://msdn.microsoft.com/en-us/library/aa384426.aspx
|
Microsoft's WinRM http://msdn.microsoft.com/en-us/library/aa384426.aspx
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pywinrm-%{version}
|
%setup -q -n pywinrm-%{version}
|
||||||
|
# FIXME - License should be included in the pypi tarball
|
||||||
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files
|
%check
|
||||||
%defattr(-,root,root,-)
|
%python_exec setup.py test
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3030f700fbd6d06f715d4374c10b3586624bccca003b7075dd281c875705ac1b
|
|
||||||
size 18623
|
|
3
pywinrm-0.3.0.tar.gz
Normal file
3
pywinrm-0.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:799fc3e33fec8684443adf5778860388289102ea4fa1458f1bf307d167855573
|
||||||
|
size 25175
|
Reference in New Issue
Block a user