Blob Blame History Raw
%global pypi_name snallygaster

Name:           snallygaster
Version:        0.0.12
Release:        %autorelease
Summary:        Tool to scan for secret files on HTTP servers

License:        CC0
Source0:        %{pypi_source}
BuildArch:      noarch

BuildRequires:  python3-devel
BuildRequires:  python3-beautifulsoup4
BuildRequires:  python3-dns
BuildRequires:  python3-setuptools
BuildRequires:  python3-urllib3

Requires:       python3-%{pypi_name} = %{?epoch:%{epoch}:}%{version}-%{release}

snallygaster is a tool that looks for files accessible on web servers that
shouldn't be public and can pose a security risk.Typical examples include
publicly accessible git repositories, backup files potentially containing
passwords or database dumps.

%package -n     python3-%{pypi_name}
Summary:        %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}

%description -n python3-%{pypi_name}
Python files or module parts for %{pypi_name}.

%autosetup -n %{pypi_name}-%{version}
rm -rf %{pypi_name}.egg-info



# Not running the lint test
# Set RUN_ONLINETESTS to run the tests
%{__python3} tests/


%files -n python3-%{pypi_name}
%license LICENSE