forked from pool/python-paramiko
Accepting request 125886 from home:poorboywilly:branches:devel:languages:python
Update to 1.7.7.2 and add unit tests to build. OBS-URL: https://build.opensuse.org/request/show/125886 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=22
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-paramiko
|
||||
Version: 1.7.7.1
|
||||
Version: 1.7.7.2
|
||||
Release: 0
|
||||
Url: http://www.lag.net/paramiko/
|
||||
Summary: SSH2 protocol library
|
||||
@@ -26,6 +26,7 @@ Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/p/paramiko/paramiko-%{version}.zip
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-pycrypto >= 2.1
|
||||
BuildRequires: unzip
|
||||
Requires: python-pycrypto >= 2.1
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
@@ -50,8 +51,11 @@ python setup.py build
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
python test.py
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE README demos docs
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user