Name: testing-farm Version: v0.0.21 Release: 1.20241206150404527823.add.spec.file.1.g482c70f%{?dist} Summary: Testing Farm CLI License: Apache-2.0 URL: https://gitlab.com/testing-farm/cli Source0: tft-cli-v0.0.21.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.21 %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