17
0

Compare commits

3 Commits

2 changed files with 13 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 2 16:11:21 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Wed May 10 06:17:44 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-paramiko-expect
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-paramiko-expect
Version: 0.3.5
@@ -25,7 +24,9 @@ Summary: An expect-like extension for the Paramiko SSH library
License: MIT
URL: https://github.com/fgimian/paramiko-expect
Source: https://files.pythonhosted.org/packages/source/p/paramiko-expect/paramiko-expect-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-paramiko >= 1.10.1
@@ -48,10 +49,10 @@ extended to support a transport in future for more flexibility).
%setup -q -n paramiko-expect-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -62,6 +63,8 @@ export LANG=en_US.UTF-8
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/paramiko_expect.py
%{python_sitelib}/paramiko_expect-%{version}*-info
%pycache_only %{python_sitelib}/__pycache__/paramiko_expect*
%changelog