Name: octosuite Version: 5.2.0 Release: 1%{?dist} Summary: Terminal toolkit for researching GitHub users, repositories and organizations License: MIT URL: https://github.com/bellingcat/octosuite Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # clear_screen() runs clear(1). Requires: /usr/bin/clear %description Octosuite, from Bellingcat, collects public data from the GitHub API about users, organizations, repositories and searches. It runs as an interactive terminal menu or as a command-line tool, and can export results as JSON, CSV or HTML. %prep %autosetup -p1 # Updates come from the package manager, not PyPI: drop update-checker and # make the "check for updates" action say so. sed -i '/"update-checker/d; s/"\([a-z]*\)>=[^"]*"/"\1"/' pyproject.toml sed -i -e '/^from update_checker import UpdateChecker$/d' \ -e 's/^ checker = UpdateChecker()$/ result = "Updates for octosuite come from your package manager."/' \ -e '/^ result = checker.check(/d' \ src/octosuite/app/lib.py grep -q 'come from your package manager' src/octosuite/app/lib.py ! grep -q UpdateChecker src/octosuite/app/lib.py # Fedora's pyfiglet ships only the fonts it can license; "chunky" is not # one of them. sed -i 's/font="chunky"/font="big"/' src/octosuite/app/lib.py grep -q 'font="big"' src/octosuite/app/lib.py # No [build-system] table; uv, upstream's tool, falls back to setuptools. sed -i '1i [build-system]\nrequires = ["setuptools>=77"]\nbuild-backend = "setuptools.build_meta"\n' pyproject.toml %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l octosuite %check # No upstream tests. %pyproject_check_import %{py3_test_envvars} %{buildroot}%{_bindir}/octosuite --help >/dev/null %{py3_test_envvars} %{python3} -c 'import pyfiglet; pyfiglet.figlet_format("octosuite", font="big")' %files -f %{pyproject_files} %doc README.md %{_bindir}/octosuite %changelog * Fri Oct 30 2026 Morgan Hough - 5.2.0-1 - Initial package