Name: ssh-audit Version: 3.0.0 Release: 1%{?dist} Summary: An SSH server & client configuration security auditing tool License: MIT URL: https://github.com/jtesta/ssh-audit Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Source: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz.sig # Ideally this would be hosted not next to the sources, but, I cannot find one Source: %{url}/releases/download/v%{version}/jtesta_2020-2025.asc BuildArch: noarch BuildRequires: python3-devel BuildRequires: gnupg2 %description ssh-audit is an SSH server & client security auditing (banner, key exchange, encryption, mac, compression, compatibility, security, etc) %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -n ssh-audit-%{version} # Remove bundled egg-info rm -rf %{name}.egg-info %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install # importable module is underscore :) %pyproject_save_files ssh_audit %check %tox %py3_check_import ssh_audit %files -f %{pyproject_files} %license LICENSE %doc README.md %{_bindir}/ssh-audit %changelog * Sun Oct 15 2023 Neil Hanlon - 3.0.0-1 - Initial package.