Name: wafw00f
Version: 1.0.0
Release: 1%{?dist}
Summary: A tool to identifies and fingerprints Web Application Firewall (WAF)
License: BSD
URL: https://github.com/sandrogauci/wafw00f
Source0: https://github.com/sandrogauci/wafw00f/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: %{py3_dist httpretty}
BuildRequires: %{py3_dist nose}
BuildRequires: %{py3_dist coveralls}
BuildRequires: %{py3_dist coverage}
BuildRequires: %{py3_dist beautifulsoup4}
BuildRequires: %{py3_dist pluginbase}
BuildRequires: %{py3_dist html5lib}
Requires: %{py3_dist beautifulsoup4}
Requires: %{py3_dist pluginbase}
Requires: %{py3_dist html5lib}
%description
WAFW00F identifies and fingerprints Web Application Firewall (WAF) products.
%prep
%autosetup -n %{name}-%{version}
sed -i -e '/^#!\//, 1d' {wafw00f/*.py,wafw00f/*/*.py}
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files
%doc CREDITS.txt README.md
%license LICENSE
%{_bindir}/%{name}
%{python3_sitelib}/%{name}-*.egg-info/
%{python3_sitelib}/%{name}/
%changelog
* Sun May 05 2019 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.0-1
- Fix files section and add tests
- Update to latest upstream release 1.0.0
* Thu Apr 11 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.6-1
- Update to latest upstream release 0.9.6
* Mon Nov 14 2016 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.4-1
- Update to latest upstream release 0.9.4
* Sun Oct 12 2014 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.1-1
- Initial package for Fedora