forked from pool/python-pywinrm
Accepting request 477839 from home:bmanojlovic:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/477839 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pywinrm?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
4d523d7675
commit
9fbb7996c3
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pywinrm
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -13,22 +13,21 @@
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define githash 0d6790664c
|
||||
%define githashfull 0d6790664c2a9eb3debc38a824fffc596c5c0cc6
|
||||
Name: python-pywinrm
|
||||
# version in master branch is not updated and original 0.0.2dev is year old...
|
||||
Version: 0.0.1.99
|
||||
Version: 0.2.2
|
||||
Release: 0
|
||||
License: MIT
|
||||
Summary: Python library for Windows Remote Management
|
||||
Url: http://github.com/diyan/pywinrm/
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
# Original source from pypi is too old
|
||||
#Source: https://pypi.python.org/packages/source/p/pywinrm/pywinrm-%{version}.tar.gz
|
||||
Source0: https://github.com/diyan/pywinrm/archive/%{githash}/pywinrm-%{githash}.tar.gz
|
||||
Url: http://github.com/diyan/pywinrm/
|
||||
Source0: https://pypi.io/packages/source/p/pywinrm/pywinrm-%{version}.tar.gz
|
||||
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
Requires: python-isodate
|
||||
Requires: python-xmltodict
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -50,7 +49,7 @@ Microsoft's WinRM http://msdn.microsoft.com/en-us/library/aa384426.aspx
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n pywinrm-%{githashfull}
|
||||
%setup -q -n pywinrm-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
@@ -62,4 +61,4 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user