initial package

This commit is contained in:
Neil Hanlon 2023-10-15 16:20:39 -04:00 committed by Neil Hanlon
commit b75b61c2e6
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
3 changed files with 54 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/ssh-audit-3.0.0.tar.gz

52
python-ssh-audit.spec Normal file
View File

@ -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 <neil@shrug.pw> - 3.0.0-1
- Initial package.

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (ssh-audit-3.0.0.tar.gz) = b7b7454da4bd77065709bc3f2fefb7285fcc5448a28193dee41a7417117c4a9bcfc03bfce1e50fcb96bea53292be38591a4a30e8da95e419224ad83c029a25e2