## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-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*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-telnetlib3 Version: 2.0.4 Release: %autorelease Summary: Python 3 asyncio Telnet server and client Protocol library License: ISC URL: http://telnetlib3.rtfd.org/ Source: %{pypi_source telnetlib3} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: telnetlib3 is a Telnet Client and Server library for Python.} %description %_description %package -n python3-telnetlib3 Summary: %{summary} %description -n python3-telnetlib3 %_description %prep %autosetup -p1 -n telnetlib3-%{version} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files telnetlib3 %check %tox %files -n python3-telnetlib3 -f %{pyproject_files} %doc README.rst %{_bindir}/telnetlib3-client %{_bindir}/telnetlib3-server %changelog ## START: Generated by rpmautospec * Sat Sep 28 2024 Davide Cavalca - 2.0.4-1 - Initial import; Fixes: RHBZ#2315496 ## END: Generated by rpmautospec