# Generated by go2rpm 1.15.0 %bcond check 1 %bcond bootstrap 0 %global debug_package %{nil} %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif # https://github.com/coder/websocket %global goipath github.com/coder/websocket Version: 1.8.12 %gometa -L -f %global common_description %{expand: Minimal and idiomatic WebSocket library for Go.} %global golicenses LICENSE.txt %global godocs README.md Name: golang-github-coder-websocket Release: %autorelease Summary: Minimal and idiomatic WebSocket library for Go License: ISC URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep -A %install %gopkginstall %if %{without bootstrap} %if %{with check} %check # internal/thirdparty: requires github.com/lesismal/nbio/nbhttp/websocket, not packaged %gocheck \ -d internal/thirdparty %endif %endif %gopkgfiles %changelog %autochangelog