ea8b775
%global srcname winrm
ea8b775
%global sum Python libraries for interacting with windows remote management
ea8b775
%global gh_owner diyan
ea8b775
%global pypi_name py%{srcname}
ea8b775
ea8b775
Name:           python-%{srcname}
73cc2aa
Version:        0.3.0
dd7a095
Release:        9%{?dist}
ea8b775
Summary:        %{sum}
ea8b775
ea8b775
License:        MIT
ea8b775
URL:            https://pypi.python.org/pypi/%{pypi_name}
ea8b775
Source0:        https://github.com/%{gh_owner}/%{pypi_name}/archive/v%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz
ea8b775
BuildArch:      noarch
afce2e3
516ea36
BuildRequires: python3-devel
afce2e3
BuildRequires: python3-six
afce2e3
BuildRequires: python3-requests
ea8b775
BuildRequires: python3-xmltodict
ea8b775
BuildRequires: python3-pytest
ea8b775
BuildRequires: python3-mock
ea8b775
BuildRequires: python3-requests_ntlm
ea8b775
ea8b775
%description
ea8b775
This has the python libraries for interacting with Windows Remote Management
ea8b775
ea8b775
%package -n python3-%{srcname}
ea8b775
Summary:        %{sum}
ea8b775
Requires: python3-xmltodict
ea8b775
Requires: python3-requests_ntlm
19cfcd5
Requires: python3-requests
ea8b775
%{?python_provide:%python_provide python3-%{srcname}}
ea8b775
ea8b775
%description -n python3-%{srcname}
ea8b775
This has the python libraries for interacting with Windows Remote Management
ea8b775
ea8b775
ea8b775
%prep
ea8b775
%autosetup -n %{pypi_name}-%{version}
ea8b775
ea8b775
%build
ea8b775
%py3_build
ea8b775
ea8b775
%install
ea8b775
%py3_install
ea8b775
ea8b775
%check
ea8b775
%{__python3} -m pytest winrm/tests
ea8b775
ea8b775
# Note that there is no %%files section for the unversioned python module if we are building for several python runtimes
ea8b775
%files -n python3-%{srcname}
ea8b775
%license LICENSE
ea8b775
%doc README.md CHANGELOG.md
ea8b775
%{python3_sitelib}/*
ea8b775
ea8b775
%changelog
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