# 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: 3.0.3 %gometa %global goaltipaths gotest.tools/v3 %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 sed -i "s|gotest.tools/v3|gotest.tools|" $(find . -iname "*.go" -type f) # poll: needs network %gocheck -d poll -d assert/cmp -d assert/opt %endif %gopkgfiles %changelog * Sat Dec 26 10:05:21 CET 2020 Robert-André Mauchin - 3.0.3-1 - Update to 3.0.3 - Close: rhbz#1886649 * Sat Aug 01 2020 Fedora Release Engineering - 3.0.2-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 3.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Jul 25 23:30:04 CEST 2020 Robert-André Mauchin - 3.0.2-2 - Add alternative import path * Sat Jul 25 22:43:31 CEST 2020 Robert-André Mauchin - 3.0.2-1 - Update to 3.0.2 * Thu Jan 30 01:46:48 CET 2020 Robert-André Mauchin - 3.0.0-1.20200130gita1378ce - Bump to commit a1378ce1d2f4f9e556528a94613c9e7536aa6b9d * Wed Jan 29 2020 Fedora Release Engineering - 2.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 2.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat May 04 17:56:46 CEST 2019 Robert-André Mauchin - 2.3.0-1 - Initial package