From b980495438b01076b6e89f1e21f1fcbc4acd190d Mon Sep 17 00:00:00 2001 From: lingsheng Date: Mon, 10 Aug 2020 16:56:23 +0800 Subject: [PATCH] Remove python2-paramiko subpackage --- python-paramiko.spec | 33 ++++++--------------------------- 1 file changed, 6 insertions(+), 27 deletions(-) diff --git a/python-paramiko.spec b/python-paramiko.spec index 5a83a80..d8f8ec7 100644 --- a/python-paramiko.spec +++ b/python-paramiko.spec @@ -1,6 +1,6 @@ Name: python-paramiko Version: 2.4.1 -Release: 7 +Release: 8 Summary: Python SSH module License: LGPLv2+ URL: https://github.com/paramiko/paramiko @@ -16,22 +16,6 @@ Paramiko is a combination of the Esperanto words for "paranoid" and "friend". It for Python 2.7/3.4+ that implements the SSH2 protocol for secure (encrypted and authenticated) connections to remote machines. -%package -n python2-paramiko -Summary: Python SSH module -BuildRequires: python2-devel python2-setuptools python2-bcrypt >= 3.1.3 python2-pytest -BuildRequires: python2-pyasn1 >= 0.1.7 python2-pynacl >= 1.0.1 python2-cryptography >= 1.5 -Requires: python2-bcrypt >= 3.1.3 python2-cryptography >= 1.5 -Requires: python2-pyasn1 >= 0.1.7 python2-pynacl >= 1.0.1 -%{?python_provide:%python_provide python2-paramiko} - -%description -n python2-paramiko -Paramiko is a combination of the Esperanto words for "paranoid" and "friend". python2-paramiko is -a module for Python 2.7 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 -n python3-paramiko Summary: Python SSH module BuildRequires: python3-devel python3-setuptools python3-bcrypt >= 3.1.3 python3-pytest @@ -50,7 +34,7 @@ arbitrary channels to remote services across the encrypted tunnel (this is how S %package help Summary: Docs and demos for SSH2 protocol library for python -BuildRequires: python2-Sphinx +BuildRequires: python3-sphinx Provides: python-paramiko-doc = %{version}-%{release} Obsoletes: python-paramiko-doc <= %{version}-%{release} @@ -61,26 +45,18 @@ This is the documentation and demos for python-paramiko. %autosetup -p1 -n paramiko-%{version} %build -%py2_build %py3_build %install -%py2_install %py3_install -sphinx-build-2 -b html sites/docs/ html/ +sphinx-build -b html sites/docs/ html/ rm -f html/.buildinfo %check rm -f tests/test_sftp*.py -PYTHONPATH=%{buildroot}%{python2_sitelib} pytest-%{python2_version} PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -%files -n python2-paramiko -%license LICENSE -%{python2_sitelib}/paramiko-*.egg-info/ -%{python2_sitelib}/paramiko/ - %files -n python3-paramiko %license LICENSE %{python3_sitelib}/paramiko-*.egg-info/ @@ -90,5 +66,8 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} %doc html/ demos/ NEWS README.rst %changelog +* Mon Aug 10 2020 lingsheng - 2.4.1-8 +- Remove python2-paramiko subpackage + * Wed Nov 06 2019 Lijin Yang - 2.4.1-7 - init package -- Gitee