Name: testing-farm Version: 0.0.29.post5.dev0+39411df Release: 1.20260115160729466615.main.5.g39411df%{?dist} Summary: Testing Farm CLI License: Apache-2.0 URL: https://gitlab.com/testing-farm/cli Source0: tft_cli-0.0.29.post5.dev0+39411df.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.post5.dev0+39411df %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