commit b75b61c2e64bbe09db599f692d5f0630d9eabd9d Author: Neil Hanlon Date: Sun Oct 15 16:20:39 2023 -0400 initial package diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6c00095 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/ssh-audit-3.0.0.tar.gz diff --git a/python-ssh-audit.spec b/python-ssh-audit.spec new file mode 100644 index 0000000..28bd9fe --- /dev/null +++ b/python-ssh-audit.spec @@ -0,0 +1,52 @@ +# Created by pyp2rpm-3.3.8 +%global pypi_name ssh-audit +%global pypi_version 3.0.0 + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: 1%{?dist} +Summary: An SSH server & client configuration security auditing tool + +License: MIT +URL: https://github.com/jtesta/ssh-audit +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) + +%description +SSH server & client security auditing (banner, key exchange, encryption, mac, +compression, compatibility, security, etc) + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3dist(setuptools) + +%description -n python3-%{pypi_name} +SSH server & client security auditing (banner, key exchange, encryption, mac, +compression, compatibility, security, etc) + +%prep +%autosetup -n %{pypi_name}-%{pypi_version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.md +%{_bindir}/ssh-audit +%{python3_sitelib}/ssh_audit +%{python3_sitelib}/ssh_audit-%{pypi_version}-py%{python3_version}.egg-info + +%changelog +* Sun Oct 15 2023 Neil Hanlon - 3.0.0-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..95facec --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ssh-audit-3.0.0.tar.gz) = b7b7454da4bd77065709bc3f2fefb7285fcc5448a28193dee41a7417117c4a9bcfc03bfce1e50fcb96bea53292be38591a4a30e8da95e419224ad83c029a25e2