# Generated by go2rpm 1.3 # Requires wasm not packaged in Fedora %bcond_with check # https://github.com/nhooyr/websocket %global goipath nhooyr.io/websocket %global forgeurl https://github.com/nhooyr/websocket Version: 1.8.6 %gometa %global common_description %{expand: Minimal and idiomatic WebSocket library for Go.} %global golicenses LICENSE.txt %global godocs examples README.md Name: %{goname} Release: 1%{?dist} Summary: Minimal and idiomatic WebSocket library for Go License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/gin-gonic/gin) BuildRequires: golang(github.com/golang/protobuf/proto) BuildRequires: golang(github.com/google/go-cmp/cmp) BuildRequires: golang(github.com/google/go-cmp/cmp/cmpopts) BuildRequires: golang(github.com/klauspost/compress/flate) BuildRequires: golang(golang.org/x/time/rate) %if %{with check} # Tests BuildRequires: golang(github.com/gobwas/ws) BuildRequires: golang(github.com/gorilla/websocket) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Tue Dec 15 19:39:20 CET 2020 Robert-André Mauchin - 1.8.6-1 - Initial package