# Generated by go2rpm 1.5.0 # Disable tests by default as they require a multicast network interface %bcond_with check # https://github.com/schollz/peerdiscovery %global goipath github.com/schollz/peerdiscovery Version: 1.6.9 %gometa %global common_description %{expand: Pure-Go library for cross-platform local peer discovery using UDP multicast.} %global golicenses LICENSE %global godocs examples README.md Name: %{goname} Release: %autorelease Summary: Pure-Go library for cross-platform local peer discovery using UDP multicast License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/schollz/progressbar/v2) BuildRequires: golang(github.com/schollz/progressbar/v3) BuildRequires: golang(golang.org/x/net/ipv4) BuildRequires: golang(golang.org/x/net/ipv6) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog