## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.5.0 %bcond_without check # https://github.com/projectdiscovery/ipranger %global goipath github.com/projectdiscovery/ipranger Version: 0.0.2 %gometa %global common_description %{expand: IP/FQDN data structure helper with randomization of hosts and ports based on masscan internal logic.} %global golicenses LICENSE Name: %{goname} Release: %autorelease Summary: IP/FQDN data structure helper License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/projectdiscovery/hmap/store/hybrid) BuildRequires: golang(github.com/projectdiscovery/mapcidr) BuildRequires: golang(github.com/yl2chen/cidranger) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sat Sep 18 2021 Robert-André Mauchin 0.0.2-1 - Initial release