# Generated by go2rpm %bcond_without check # https://github.com/gotestyourself/gotest.tools %global goipath gotest.tools %global forgeurl https://github.com/gotestyourself/gotest.tools Version: 2.3.0 %gometa %global common_description %{expand: A collection of packages to augment the Go testing package and support common patterns.} %global golicenses LICENSE LICENSE-difflib %global godocs CONTRIBUTING.md README.md Name: %{goname} Release: 1%{?dist} Summary: A collection of packages to augment the Go testing package # Upstream license specification: BSD-3-Clause and Apache-2.0 # ASL 2.0: main package # BSD: internal/difflib License: BSD and ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/google/go-cmp/cmp) BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(github.com/spf13/pflag) BuildRequires: golang(golang.org/x/tools/go/ast/astutil) BuildRequires: golang(golang.org/x/tools/go/loader) BuildRequires: golang(golang.org/x/tools/imports) %description %{common_description} %gopkg %prep %goprep mv internal/difflib/LICENSE LICENSE-difflib %install %gopkginstall %if %{with check} %check # assert: https://github.com/gotestyourself/gotest.tools/issues/155 # poll: needs network %gocheck -t assert -d poll %endif %gopkgfiles %changelog * Sat May 04 17:56:46 CEST 2019 Robert-André Mauchin - 2.3.0-1 - Initial package