Name: python-cmdkit Version: 2.7.5 Release: 1%{?dist} Summary: A library for developing command-line applications in Python License: Apache-2.0 URL: https://cmdkit.readthedocs.io/ Source: https://github.com/glentner/CmdKit/archive/v%{version}/CmdKit-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # for tests BuildRequires: python3-pytest BuildRequires: python3-hypothesis %description %summary %package -n python3-cmdkit Summary: %{summary} %description -n python3-cmdkit %summary %prep %autosetup -p1 -n CmdKit-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files cmdkit %check %pytest #%%tox / %%pytest / %%pyproject_check_import ... %files -n python3-cmdkit -f %{pyproject_files} %doc README.* #%%{_bindir}/... %changelog * Thu Nov 21 2024 Jonathan Wright - 2.7.5 - initial package release