Name: testing-farm Version: v0.0.1 Release: %autorelease Summary: Testing Farm CLI License: Apache-2.0 URL: https://gitlab.com/testing-farm/cli Source0: tft-cli-v0.0.1.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.1 %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