Name: ssh-audit Version: 3.9.0 Release: 1%{?dist} Summary: An SSH server & client configuration security auditing tool License: MIT URL: https://github.com/jtesta/ssh-audit Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz.sig Source2: %{url}/releases/download/v%{version}/jtesta_2026-2029.asc BuildArch: noarch # # Choose the newest Python available on the build system. # %global python3_pkgversion 3.14 BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-pip BuildRequires: python%{python3_pkgversion}-setuptools-wheel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-packaging BuildRequires: pyproject-rpm-macros BuildRequires: gnupg2 Requires: python%{python3_pkgversion} %description ssh-audit is an SSH server & client configuration security auditing tool. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup sed -i "/^[[:space:]]*\"wheel\"/d" pyproject.toml sed -i '1{/^#!\/usr\/bin\/env python/d}' src/ssh_audit/ssh_audit.py %generate_buildrequires %pyproject_buildrequires %build python3.14 -m pip wheel \ --no-build-isolation \ --no-deps \ -w dist . %install python3.14 -m pip install \ --root %{buildroot} \ --prefix %{_prefix} \ --no-deps \ --no-index \ --find-links dist \ ssh-audit %global python_sitelib_314 %{_prefix}/lib/python3.14/site-packages %files %license LICENSE %doc README.md %{_bindir}/ssh-audit %dir %{python_sitelib_314}/ssh_audit %{python_sitelib_314}/ssh_audit/* %{python_sitelib_314}/ssh_audit-*.dist-info %changelog * Wed Jul 29 2026 Danie de Jager - 3.9.0-1 - Initial package