# Generated by go2rpm %bcond_without check %bcond_without bootstrap # https://github.com/nats-io/nats.go %global goipath github.com/nats-io/nats.go Version: 1.7.2 %gometa %global goaltipaths github.com/nats-io/go-nats %global common_description %{expand: A Go client for the NATS messaging system.} %global golicenses LICENSE %global godocs examples GOVERNANCE.md MAINTAINERS.md TODO.md\\\ README.md Name: %{goname} Release: 1%{?dist} Summary: Golang client for NATS, the cloud native messaging system # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/golang/protobuf/proto) BuildRequires: golang(github.com/nats-io/nkeys) BuildRequires: golang(github.com/nats-io/nuid) %if %{without bootstrap} %if %{with check} # Tests BuildRequires: golang(github.com/nats-io/gnatsd/server) BuildRequires: golang(github.com/nats-io/gnatsd/test) %endif %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{without bootstrap} %if %{with check} %check %gocheck %endif %endif %gopkgfiles %changelog * Tue May 14 00:43:10 CEST 2019 Robert-André Mauchin - 1.7.2-1 - Initial package