ea8b775
%global srcname winrm
ea8b775
ea8b775
Name:           python-%{srcname}
366c367
Version:        0.4.1
657641b
Release:        2%{?dist}
e9cff67
Summary:        Python libraries for interacting with windows remote management
ea8b775
ea8b775
License:        MIT
e9cff67
URL:            https://pypi.python.org/pypi/pywinrm
e9cff67
Source0:        https://github.com/diyan/pywinrm/archive/v%{version}/%{srcname}-%{version}.tar.gz
ea8b775
BuildArch:      noarch
afce2e3
e9cff67
BuildRequires:  python3-devel
e9cff67
BuildRequires:  python3dist(setuptools)
e9cff67
BuildRequires:  python3dist(pytest)
e9cff67
BuildRequires:  python3dist(mock)
e9cff67
BuildRequires:  python3dist(xmltodict)
e9cff67
BuildRequires:  python3dist(requests) >= 2.9.1
e9cff67
BuildRequires:  python3dist(requests-ntlm) >= 0.3
e9cff67
BuildRequires:  python3dist(six)
ea8b775
e9cff67
%global _description %{expand:
e9cff67
This has the python libraries for interacting with Windows Remote Management.}
e9cff67
e9cff67
%description %{_description}
ea8b775
ea8b775
%package -n python3-%{srcname}
e9cff67
Summary:        %{summary}
ea8b775
%{?python_provide:%python_provide python3-%{srcname}}
ea8b775
e9cff67
%description -n python3-%{srcname} %{_description}
ea8b775
e9cff67
Python 3 version.
ea8b775
ea8b775
%prep
e9cff67
%autosetup -n pywinrm-%{version}
ea8b775
ea8b775
%build
ea8b775
%py3_build
ea8b775
ea8b775
%install
ea8b775
%py3_install
ea8b775
ea8b775
%check
e9cff67
%python3 -m pytest -vv winrm/tests
ea8b775
ea8b775
%files -n python3-%{srcname}
ea8b775
%license LICENSE
ea8b775
%doc README.md CHANGELOG.md
e9cff67
%{python3_sitelib}/pywinrm-*.egg-info/
e9cff67
%{python3_sitelib}/winrm/
ea8b775
ea8b775
%changelog
657641b
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-2
657641b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
657641b
366c367
* Thu Sep 10 2020 Joel Capitao <jcapitao@redhat.com> - 0.4.1-1
366c367
- Update to 0.4.1
366c367
6510e53
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-11
6510e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6510e53
9442a15
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-10
9442a15
- Rebuilt for Python 3.9
9442a15
dd7a095
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-9
dd7a095
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
dd7a095
26b4c37
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-8
26b4c37
- Rebuilt for Python 3.8.0rc1 (#1748018)
26b4c37
c92627d
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-7
c92627d
- Rebuilt for Python 3.8
c92627d
5b0b3a6
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-6
5b0b3a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5b0b3a6
516ea36
* Sun Mar 17 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-5
516ea36
- Subpackage python2-winrm has been removed
516ea36
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
516ea36
c13a9b9
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
c13a9b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c13a9b9
1d97ef9
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-3
1d97ef9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1d97ef9
ff348fb
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-2
ff348fb
- Rebuilt for Python 3.7
ff348fb
73cc2aa
* Tue Apr 17 2018 James Hogarth <james.hogarth@gmail.com> - 0.3.0-1
73cc2aa
- Update to 0.3.0
73cc2aa
8b7aca8
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-4
8b7aca8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8b7aca8
8b91dbe
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-3
8b91dbe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8b91dbe
6fbc92f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2
6fbc92f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6fbc92f
19cfcd5
* Sat Feb 04 2017 James Hogarth <james.hogarth@gmail.com> - 0.2.2-1
19cfcd5
- Update to 0.2.2
19cfcd5
- Update requires to fix bz#1409670
19cfcd5
bbef981
* Tue Dec 20 2016 James Hogarth <james.hogarth@gmail.com> - 0.2.1-3
bbef981
- Fix broken requires for epel
bbef981
7eaac16
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-2
7eaac16
- Rebuild for Python 3.6
7eaac16
1738fd5
* Mon Oct 24 2016 James Hogarth <james.hogarth@gmail.com> - 0.2.1-1
ea8b775
- Initial package