# Generated by go2rpm 1.3 %bcond_without check # https://github.com/Masterminds/sprig %global goipath github.com/Masterminds/sprig Version: 3.2.2 %gometa %global common_description %{expand: Useful template functions for Go templates.} %global golicenses LICENSE.txt %global godocs docs CHANGELOG.md README.md Name: %{goname} Release: 1%{?dist} Summary: Useful template functions for Go templates License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/google/uuid) BuildRequires: golang(github.com/huandu/xstrings) BuildRequires: golang(github.com/imdario/mergo) BuildRequires: golang(github.com/Masterminds/goutils) BuildRequires: golang(github.com/Masterminds/semver/v3) BuildRequires: golang(github.com/mitchellh/copystructure) BuildRequires: golang(github.com/shopspring/decimal) BuildRequires: golang(github.com/spf13/cast) BuildRequires: golang(golang.org/x/crypto/bcrypt) BuildRequires: golang(golang.org/x/crypto/scrypt) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check # Remove test that requires network access rm network_test.go %gocheck %endif %gopkgfiles %changelog * Sun May 16 2021 Davide Cavalca - 3.2.2-1 - Initial package