diff --git a/python-winrm-0.4.0.tar.gz b/python-winrm-0.4.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f535ad8e40267366f009597ccffa8bb3121913df Binary files /dev/null and b/python-winrm-0.4.0.tar.gz differ diff --git a/python-winrm.spec b/python-winrm.spec new file mode 100644 index 0000000000000000000000000000000000000000..1ba723534d698cb8c23c0d4355346acf3e872c99 --- /dev/null +++ b/python-winrm.spec @@ -0,0 +1,43 @@ +%bcond_with bootstrap + +Name: python-winrm +Version: 0.4.0 +Release: 1 +Summary: Python library for Windows Remote Management (WinRM) +License: MIT +URL: https://github.com/diyan/pywinrm +Source0: https://github.com/diyan/pywinrm/archive/%{name}-%{version}.tar.gz + +BuildArch: noarch + +%description +pywinrm is a Python client for the Windows Remote Management (WinRM) service. It allows you to invoke commands on target Windows machines from any machine that can run Python + +%package -n python3-winrm +Summary: Python library for Windows Remote Management (WinRM) +BuildRequires: python3-pytest python3-xmltodict python3-six python3-mock python3-requests + +%description -n python3-winrm +pywinrm is a Python client for the Windows Remote Management (WinRM) service. It allows you to invoke commands on target Windows machines from any machine that can run Python + +%prep +%autosetup -n pywinrm-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} -m pytest winrm/tests/ + +%files -n python3-winrm +%doc README.md CHANGELOG.md +%license LICENSE +%{python3_sitelib}/* + + +%changelog +* Tue Apr 28 2020 Wei Xiong +- init package