# Created by pyp2rpm-3.3.3 %global pypi_name paramiko Name: python-%{pypi_name} Version: 1.14.3 Release: 1%{?dist} Summary: SSH2 protocol library License: LGPL URL: https://github.com/paramiko/paramiko/ Source0: %{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildConflicts: python2dist(pycrypto) = 2.4 BuildRequires: python2dist(ecdsa) BuildRequires: python2dist(pycrypto) >= 2.1 BuildRequires: python2dist(setuptools) %description This is a library for making SSH2 connections (client or server). Emphasis is on using SSH2 as an alternative to SSL for making secure connections between python scripts. All major ciphers and hash methods are supported. SFTP client and server mode are both supported too.Required packages: pyCryptoTo install the in- development version < use pip install paramikodev. %package -n python2-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python2-%{pypi_name}} Conflicts: python2dist(pycrypto) = 2.4 Requires: python2dist(ecdsa) Requires: python2dist(pycrypto) >= 2.1 %description -n python2-%{pypi_name} This is a library for making SSH2 connections (client or server). Emphasis is on using SSH2 as an alternative to SSL for making secure connections between python scripts. All major ciphers and hash methods are supported. SFTP client and server mode are both supported too.Required packages: pyCryptoTo install the in- development version < use pip install paramikodev. %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py2_build %install %py2_install #%check #%{__python2} setup.py test %files -n python2-%{pypi_name} %license LICENSE %{python2_sitelib}/%{pypi_name} %{python2_sitelib}/%{pypi_name}-%{version}-py%{python2_version}.egg-info %changelog * Tue Apr 07 2020 cloud_user - 1.14.3-1 - Initial package.