# Generated by go2rpm 1.3 %bcond_without check # https://github.com/Masterminds/sprig %global goipath github.com/Masterminds/sprig Version: 3.2.2 %global goaltipaths github.com/Masterminds/sprig/v3 %gometa %global common_description %{expand: The Go language comes with a built-in template language, but not very many template functions. Sprig is a library that provides more than 100 commonly used template functions. It is inspired by the template functions found in Twig and in various JavaScript libraries, such as underscore.js.} %global golicenses LICENSE.txt %global godocs docs README.md CHANGELOG.md Name: %{goname} Release: 2%{?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 # .: need network %gocheck -d . %endif %gopkgfiles %changelog * Thu Jul 22 2021 Fedora Release Engineering - 3.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Davide Cavalca - 3.2.2-1 - Update to 3.2.2 - Add alternative import path for github.com/Masterminds/sprig/v3 * Tue Jan 26 2021 Fedora Release Engineering - 3.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 03 15:20:39 CET 2021 Robert-André Mauchin - 3.2.0-1 - Initial package