File python27-paramiko.spec of Package python-paramiko

# Created by pyp2rpm-3.2.3
%global pypi_name paramiko

Name:           python27-%{pypi_name}
Version:        2.4.1
Release:        1%{?dist}
Summary:        SSH2 protocol library for python

License:        LGPL
Patch1:         paramiko-2.3.1-disable-gssapi-on-unsupported-version.patch
BuildArch:      noarch

BuildRequires:  python27-devel
BuildRequires:  python27-setuptools

Requires:       python27-bcrypt >= 3.1.3
Requires:       python27-cryptography >= 1.5
Requires:       python27-pyasn1 >= 0.1.7
Requires:       python27-pynacl >= 1.0.1

Paramiko (a combination of the Esperanto words for "paranoid" and "friend") is
a module for python 2.3 or greater that implements the SSH2 protocol for secure
(encrypted and authenticated) connections to remote machines. Unlike SSL (aka
TLS), the SSH2 protocol does not require hierarchical certificates signed by a
powerful central authority. You may know SSH2 as the protocol that replaced
telnet and rsh for secure access to remote shells, but the protocol also
includes the ability to open arbitrary channels to remote services across an
encrypted tunnel (this is how sftp works, for example).

%setup -n %{pypi_name}-%{version}
%patch1 -p1

# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

chmod a-x demos/*
sed -i -e '/^#!/,1d' demos/*



%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc README.rst

* Fri Mar 16 2018 Paul Howarth <> - 2.4.1-1
- Update to 2.4.1

* Thu Jan 11 2018 <> - 2.4.0-2
- Remove weak deps, paramiko does not support recent gssapi (rhbz #1496148)

* Mon Dec 29 2017 Yunfei Shi <> - 2.4.0-1
- Initial package.