diff --git a/python-pywinrm.changes b/python-pywinrm.changes index c98ca87..0c1b12d 100644 --- a/python-pywinrm.changes +++ b/python-pywinrm.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sat Jul 20 10:29:56 UTC 2024 - Martin Hauke + +- Update to version 0.5.0 + What's Changed + * Migrate to PEP 517 compliant build. + * Added ignore revs file for tracking commits with bulk sanity + changes. + * Add type annotations. + * Add WSManFaultError. + * Add new public APIs for header and command output. + * Fix up subpackages in dist. + ------------------------------------------------------------------- Tue May 9 12:40:08 UTC 2023 - Johannes Kastl diff --git a/python-pywinrm.spec b/python-pywinrm.spec index 1e268be..7997b61 100644 --- a/python-pywinrm.spec +++ b/python-pywinrm.spec @@ -1,7 +1,7 @@ # # spec file for package python-pywinrm # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-pywinrm -Version: 0.4.3 +Version: 0.5.0 Release: 0 Summary: Python library for Windows Remote Management License: MIT @@ -26,17 +26,17 @@ Group: Development/Languages/Python URL: https://github.com/diyan/pywinrm/ Source: https://github.com/diyan/pywinrm/archive/refs/tags/v%{version}.tar.gz#/pywinrm-%{version}.tar.gz BuildRequires: %{python_module kerberos} +BuildRequires: %{python_module pip} 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 requests_ntlm >= 1.1.0} BuildRequires: %{python_module six} +BuildRequires: %{python_module wheel} 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-requests_ntlm >= 1.1.0 Requires: python-xmltodict Suggests: python-requests-credssp >= 0.0.1 Suggests: python-requests-kerberos >= 0.10.0 @@ -57,11 +57,12 @@ Microsoft's WinRM http://msdn.microsoft.com/en-us/library/aa384426.aspx %setup -q -n pywinrm-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_expand rm -Rv %{buildroot}%{$python_sitelib}/winrm/tests %check # https://github.com/diyan/pywinrm/issues/345 @@ -71,6 +72,7 @@ sed -i 's:import mock:from unittest import mock:' winrm/tests/test_transport.py %files %{python_files} %license LICENSE %doc README.md -%{python_sitelib}/* +%{python_sitelib}/winrm +%{python_sitelib}/pywinrm-%{version}.dist-info %changelog diff --git a/pywinrm-0.4.3.tar.gz b/pywinrm-0.4.3.tar.gz deleted file mode 100644 index 339a517..0000000 --- a/pywinrm-0.4.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:253d2af9a6f1ec1ae8e21919a174e178b2e0475060956e3add0746584520ae84 -size 38576 diff --git a/pywinrm-0.5.0.tar.gz b/pywinrm-0.5.0.tar.gz new file mode 100644 index 0000000..f98af67 --- /dev/null +++ b/pywinrm-0.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:adf8b1e984dd90d0589aa4c736edd4730efab272357e204cf7185b87dcf49973 +size 41674