Name: testing-farm Version: v0.0.22 Release: 1.20241216143740175974.pr121.3.g4070cbc%{?dist} Summary: Testing Farm CLI License: Apache-2.0 URL: https://gitlab.com/testing-farm/cli Source0: tft-cli-v0.0.22.tar.gz Patch0: deps-f41.patch BuildArch: noarch BuildRequires: python3-devel %description CLI tool for interacting with the Testing Farm API. %prep %setup -q -n tft-cli-v0.0.22 %if 0%{?fedora} > 40 %patch 0 -p1 %endif %generate_buildrequires %pyproject_buildrequires %build export SETUPTOOLS_SCM_PRETEND_VERSION=v%{version} %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