Name: testing-farm Version: 0.0.29.post6.dev0+4b33c2a Release: 1.20260115205003327278.main.6.g4b33c2a%{?dist} Summary: Testing Farm CLI License: Apache-2.0 URL: https://gitlab.com/testing-farm/cli Source0: tft_cli-0.0.29.post6.dev0+4b33c2a.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: tomcli %description CLI tool for interacting with the Testing Farm API. %prep %autosetup -n tft_cli-0.0.29.post6.dev0+4b33c2a %generate_buildrequires # Drop version pinning (we use the versions available in Fedora) for DEP in $(tomcli get -F newline-keys pyproject.toml tool.poetry.dependencies) do tomcli set pyproject.toml replace tool.poetry.dependencies.${DEP} ".*" "*" done %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