diff --git a/python-paramiko-expect.changes b/python-paramiko-expect.changes index c85ac6b..785838f 100644 --- a/python-paramiko-expect.changes +++ b/python-paramiko-expect.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 2 16:11:21 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Wed May 10 06:17:44 UTC 2023 - Dirk Müller diff --git a/python-paramiko-expect.spec b/python-paramiko-expect.spec index 6d6ad57..9d31810 100644 --- a/python-paramiko-expect.spec +++ b/python-paramiko-expect.spec @@ -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