15
0
Denisart Benjamin
2013-11-25 22:53:27 +00:00
committed by Git OBS Bridge
parent f86537b755
commit facafbb788
4 changed files with 32 additions and 9 deletions

View File

@@ -17,17 +17,16 @@
Name: python-paramiko
Version: 1.11.0
Release: 0
Url: http://www.lag.net/paramiko/
Version: 1.11.2
Release: 1
Url: https://github.com/paramiko/paramiko/
Summary: SSH2 protocol library
License: LGPL-2.1+
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz
Source: https://pypi.python.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz
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
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
@@ -43,7 +42,6 @@ are supported. SFTP client and server mode are both supported too.
%prep
%setup -q -n paramiko-%{version}
sed -i "/#!.*/d" demos/{demo_keygen,rforward,demo_simple,demo_sftp,demo}.py # Fix doc-file-dependency
%build
python setup.py build