# Generated by go2rpm 1.8.2 %bcond_without check %global debug_package %{nil} # https://github.com/projectdiscovery/fastdialer %global goipath github.com/projectdiscovery/fastdialer Version: 0.0.17 %gometa -f %global common_description %{expand: Dialer with DNS Cache + Dial History.} %global golicenses LICENSE.md %global godocs README.md Name: %{goname} Release: %autorelease Summary: Dialer with DNS Cache + Dial History License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check for test in "TestDialer" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %gopkgfiles %changelog %autochangelog