Blob Blame History Raw
%global srcname mock-ssh-server

Name:           python-%{srcname}
Version:        0.8.2
Release:        4%{?dist}
Summary:        Mock SSH server for testing purposes

License:        MIT
URL:  {srcname}
Source0:        %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz 
BuildArch:      noarch
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
BuildRequires:  python%{python3_pkgversion}-paramiko

%global _description\
An SSH server for testing purposes mocksshserver packs a Python context\
manager that implements an SSH server for testing purposes. It is built\
on top of paramiko, so it does not need OpenSSH binaries to be installed.

%description %{_description}

%package -n     python%{python3_pkgversion}-%{srcname}
Summary:        %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
Requires:       python%{python3_pkgversion}-paramiko

%description -n python%{python3_pkgversion}-%{srcname} %{_description}

%autosetup -n %{srcname}-%{version}
# Remove bundled egg-info
rm -rf *.egg-info



%files -n python%{python3_pkgversion}-%{srcname}
%license LICENSE
%doc README.rst

* Fri Jul 23 2021 Fedora Release Engineering <> - 0.8.2-4
- Rebuilt for

* Fri Jun 04 2021 Python Maint <> - 0.8.2-3
- Rebuilt for Python 3.10

* Thu Dec 03 2020 Raphael Groner <> - 0.8.2-2
- fix minor issues for package review 

* Wed Sep 09 2020 Raphael Groner <> - 0.8.2-1
- initial