## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec %global srcname scp %global pypi_name scp %global forgeurl https://github.com/jbardin/scp.py Name: python-%{srcname} Version: 0.14.2 %forgemeta Release: %autorelease Summary: Scp module for paramiko License: LGPLv2+ URL: %{forgeurl} Source0: %{forgesource} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %global common_description %{expand: The scp.py module uses a paramiko transport to send and receive files via the scp1 protocol. This is the protocol as referenced from the openssh scp program, and has only been tested with this implementation. } %description %{common_description} %package -n python3-%{srcname} Summary: %{summary} %py_provides python%{python3_pkgversion}-%{srcname} %description -n python%{python3_pkgversion}-%{srcname} %{common_description} %prep %forgeautosetup %generate_buildrequires %build %py3_build %install %py3_install %files -n python%{python3_pkgversion}-%{pypi_name} %doc README.rst %license LICENSE.txt %{python3_sitelib}/__pycache__/* %{python3_sitelib}/%{pypi_name}.py %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog * ven. déc. 17 2021 chedi 0.14.2-1 - Update to version 0.14.2 (#2033432) * mer. sept. 29 2021 chedi 0.14.1-1 - Update to version 0.14.1 (#2003334) * jeu. sept. 09 2021 chedi 0.14.0-1 - update to version 0.14.0 * mar. août 03 2021 chedi 0.13.6-2 - RPMAUTOSPEC: unresolvable merge