## START: Set by rpmautospec ## (rpmautospec version 0.6.5) ## RPMAUTOSPEC: autochangelog ## END: Set by rpmautospec Name: python-flatbencode Version: 0.2.1 Release: 1%{?dist} Summary: Fast, safe and non-recursive implementation of Bittorrent bencoding License: MIT URL: https://github.com/acatton/flatbencode Source: %{url}/archive/v%{version}/flatbencode-%{version}.tar.gz BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python3dist(pytest) BuildRequires: python3dist(hypothesis) %global _description %{expand: Fast, safe and thoroughly tested implementation of bencode in pure Python 3, without any C extension. This is called flatbencode because the algorithm for decoding a bencode structure is non-recursive, thus preventing RuntimeException. } %description %_description %package -n python3-flatbencode Summary: %{summary} %description -n python3-flatbencode %_description %prep %autosetup -p1 -n flatbencode-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l flatbencode %check %pytest %files -n python3-flatbencode -f %{pyproject_files} %doc README.* %license LICENSE %changelog ## START: Generated by rpmautospec * Sat Jul 20 2024 John Doe - 0.2.1-1 - Uncommitted changes ## END: Generated by rpmautospec