# Generated by go2rpm 1.9.0 %bcond_without check %bcond_with bootstrap %global debug_package %{nil} # https://github.com/nats-io/nats.go %global goipath github.com/nats-io/nats.go Version: 1.28.0 %gometa -f %global goaltipaths github.com/nats-io/go-nats %global common_description %{expand: Golang client for NATS, the cloud native messaging system.} %global golicenses LICENSE %global godocs CODE-OF-CONDUCT.md GOVERNANCE.md\\\ MAINTAINERS.md README.md Name: %{goname} Release: %autorelease Summary: Golang client for NATS, the cloud native messaging system License: Apache-2.0 URL: %{gourl} Source: %{gosource} %if %{with check} # tests BuildRequires: golang-github-protobuf-devel %endif %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{without bootstrap} %if %{with check} %check %gocheck %endif %endif %gopkgfiles %changelog %autochangelog