Name:           testing-farm
Version:        0.0.22
Release:        1.20250130151712067717.pr143.6.g42ccb9c%{?dist}
Summary:        Testing Farm CLI

License:        Apache-2.0
URL:            https://gitlab.com/testing-farm/cli
Source0:        tft-cli-0.0.22.tar.gz

BuildArch:      noarch
BuildRequires:  python3-devel

%description
CLI tool for interacting with the Testing Farm API.

%prep
%autosetup -n tft-cli-0.0.22

%generate_buildrequires
%pyproject_buildrequires

%build
%pyproject_wheel

%install
%pyproject_install
%pyproject_save_files tft

%check
%pyproject_check_import

%files -n testing-farm -f %{pyproject_files}
#%doc README.adoc  # it's not in pypi source archive
%{_bindir}/testing-farm