# Generated by go2rpm 1 %bcond_without check # https://github.com/mvdan/gofumpt %global goipath mvdan.cc/gofumpt %global forgeurl https://github.com/mvdan/gofumpt %global commit ab5a8192947d6e9288319185f48cfbdcca057700 %gometa %global common_description %{expand: A stricter gofmt.} %global golicenses LICENSE LICENSE.google %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: A stricter gofmt # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/google/go-cmp/cmp) BuildRequires: golang(golang.org/x/mod/module) BuildRequires: golang(golang.org/x/mod/semver) BuildRequires: golang(golang.org/x/tools/go/ast/astutil) %if %{with check} # Tests BuildRequires: golang(github.com/rogpeppe/go-internal/gotooltest) BuildRequires: golang(github.com/rogpeppe/go-internal/testscript) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Fri Aug 07 22:59:11 CEST 2020 Robert-André Mauchin - 0-0.1.20200807gitab5a819 - Initial package