# Generated by go2rpm 1.2 %bcond_without check # https://github.com/RedTeamPentesting/monsoon %global goipath github.com/RedTeamPentesting/monsoon Version: 0.6.0 %gometa %global common_description %{expand: Fast HTTP enumerator.} %global golicenses LICENSE %global godocs doc README.md Name: %{goname} Release: 1%{?dist} Summary: Fast HTTP enumerator License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/fd0/termstatus) BuildRequires: golang(github.com/juju/ratelimit) BuildRequires: golang(github.com/spf13/cobra) BuildRequires: golang(github.com/spf13/pflag) BuildRequires: golang(golang.org/x/net/http2) BuildRequires: golang(golang.org/x/net/proxy) BuildRequires: golang(golang.org/x/sync/errgroup) BuildRequires: golang(golang.org/x/sys/unix) %if %{with check} # Tests BuildRequires: golang(github.com/google/go-cmp/cmp) %endif %description %{common_description} %gopkg %prep %goprep %build %gobuild -o %{gobuilddir}/bin/monsoon %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc doc README.md %{_bindir}/* %gopkgfiles %changelog * Fri Dec 11 2020 Fabian Affolter - 0.6.0-1 - Remove binaries - Update to latest upstream release 0.6.0 (#1887671) * Mon Oct 12 2020 Fabian Affolter - 0.5.0-1 - Initial package