2020-02-14 11:29:19 +08:00
|
|
|
Name: python-paramiko
|
2024-01-09 16:54:47 +08:00
|
|
|
Version: 3.4.0
|
2022-06-23 10:51:16 +08:00
|
|
|
Release: 1
|
2020-02-14 11:29:19 +08:00
|
|
|
Summary: Python SSH module
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://github.com/paramiko/paramiko
|
|
|
|
|
Source0: https://github.com/paramiko/paramiko/archive/%{version}/paramiko-%{version}.tar.gz
|
|
|
|
|
|
2023-06-15 11:42:03 +08:00
|
|
|
Patch0: Remove-icecream-dep.patch
|
2020-02-14 11:29:19 +08:00
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Paramiko is a combination of the Esperanto words for "paranoid" and "friend". It is a module
|
|
|
|
|
for Python 2.7/3.4+ that implements the SSH2 protocol for secure (encrypted and authenticated)
|
|
|
|
|
connections to remote machines.
|
|
|
|
|
|
|
|
|
|
%package -n python3-paramiko
|
|
|
|
|
Summary: Python SSH module
|
2024-01-09 16:54:47 +08:00
|
|
|
BuildRequires: python3-devel python3-setuptools python3-bcrypt >= 3.2 python3-pytest
|
|
|
|
|
BuildRequires: python3-cryptography >= 3.3 python3-pyasn1 >= 0.1.7 python3-pynacl >= 1.5
|
2021-12-01 12:32:01 +08:00
|
|
|
BuildRequires: python3-mock >= 2.0
|
2023-06-15 11:42:03 +08:00
|
|
|
BuildRequires: python3-lexicon >= 2.0.1 python3-invoke python3-pytest-relaxed
|
2024-01-09 16:54:47 +08:00
|
|
|
Requires: python3-bcrypt >= 3.2 python3-cryptography >= 3.3
|
|
|
|
|
Requires: python3-pyasn1 >= 0.1.7 python3-pynacl >= 1.5
|
2020-02-14 11:29:19 +08:00
|
|
|
%{?python_provide:%python_provide python3-paramiko}
|
|
|
|
|
|
|
|
|
|
%description -n python3-paramiko
|
|
|
|
|
Paramiko is a combination of the Esperanto words for "paranoid" and "friend". python3-paramiko is
|
|
|
|
|
a module for Python 3.4+ that implements the SSH2 protocol for secure (encrypted and authenticated)
|
|
|
|
|
connections to remote machines. Unlike SSL (aka TLS), 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 the encrypted tunnel (this is how SFTP works, for example).
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Docs and demos for SSH2 protocol library for python
|
2020-08-10 16:56:23 +08:00
|
|
|
BuildRequires: python3-sphinx
|
2020-02-14 11:29:19 +08:00
|
|
|
Provides: python-paramiko-doc = %{version}-%{release}
|
|
|
|
|
Obsoletes: python-paramiko-doc <= %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
This is the documentation and demos for python-paramiko.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1 -n paramiko-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
2020-08-10 16:56:23 +08:00
|
|
|
sphinx-build -b html sites/docs/ html/
|
2020-02-14 11:29:19 +08:00
|
|
|
rm -f html/.buildinfo
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version}
|
|
|
|
|
|
|
|
|
|
%files -n python3-paramiko
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{python3_sitelib}/paramiko-*.egg-info/
|
|
|
|
|
%{python3_sitelib}/paramiko/
|
|
|
|
|
|
|
|
|
|
%files help
|
2024-01-09 16:54:47 +08:00
|
|
|
%doc html/ demos/ README.rst
|
2020-02-14 11:29:19 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2024-01-09 16:54:47 +08:00
|
|
|
* Tue Jan 09 2024 yaoxin <yao_xin001@hoperun.com> - 3.4.0-1
|
|
|
|
|
- Upgrade to 3.4.0 for fix CVE-2023-48795
|
|
|
|
|
|
2023-06-15 11:42:03 +08:00
|
|
|
* Thu Jun 15 2023 yaoxin <yao_xin001@hoperun.com> - 3.2.0-1
|
|
|
|
|
- Update to 3.2.0
|
|
|
|
|
|
2022-06-23 10:51:16 +08:00
|
|
|
* Thu Jun 23 2022 houyingchao <houyingchao@h-partners.com> - 2.11.0-1
|
|
|
|
|
- Upgrade to version 2.11.0
|
|
|
|
|
|
2022-03-28 16:11:50 +08:00
|
|
|
* Mon Mar 28 2022 dongyuzhen <dongyuzhen@h-partners.com> - 2.8.1-3
|
|
|
|
|
- fix CVE-2022-24302 and the rear patch of CVE-2022-24302
|
|
|
|
|
|
2021-12-01 12:32:01 +08:00
|
|
|
* Sat Feb 26 2022 zhanzhimin <zhanzhimin@h-partners.com> - 2.8.1-2
|
|
|
|
|
- drop invoke dependencies as it requires ancient pytest
|
|
|
|
|
|
|
|
|
|
* Wed Dec 01 2021 zhanzhimin <zhanzhimin@huawei.com> - 2.8.1-1
|
|
|
|
|
- update to 2.8.1
|
|
|
|
|
|
2021-01-30 11:44:42 +00:00
|
|
|
* Thu Jan 28 2021 zhaorenhai <zhaorenhai@hotmail.com> - 2.7.2-1
|
|
|
|
|
- Upgrade to 2.7.2
|
|
|
|
|
|
2020-08-10 16:56:23 +08:00
|
|
|
* Mon Aug 10 2020 lingsheng <lingsheng@huawei.com> - 2.4.1-8
|
|
|
|
|
- Remove python2-paramiko subpackage
|
|
|
|
|
|
2020-02-14 11:29:19 +08:00
|
|
|
* Wed Nov 06 2019 Lijin Yang <yanglijin@huawei.com> - 2.4.1-7
|
|
|
|
|
- init package
|