Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
c5ee81f5e5 | ||
|
6d6962d03f | ||
|
18a8f79559 | ||
|
a690f29186 | ||
|
7054d4c14e |
2
.gitignore
vendored
2
.gitignore
vendored
@ -7,3 +7,5 @@
|
|||||||
/go-tools-2020.2.tar.gz
|
/go-tools-2020.2.tar.gz
|
||||||
/go-tools-2020.2.1.tar.gz
|
/go-tools-2020.2.1.tar.gz
|
||||||
/go-tools-2021.1.tar.gz
|
/go-tools-2021.1.tar.gz
|
||||||
|
/go-tools-2021.1.2.tar.gz
|
||||||
|
/go-tools-852a31a10f5fc943bff9b7857d352b317e1bcc3e.tar.gz
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
# Generated by go2rpm
|
# Generated by go2rpm 1.6.0
|
||||||
%bcond_without check
|
%bcond_without check
|
||||||
|
|
||||||
# https://github.com/dominikh/go-tools
|
# https://github.com/dominikh/go-tools
|
||||||
%global goipath honnef.co/go/tools
|
%global goipath honnef.co/go/tools
|
||||||
%global forgeurl https://github.com/dominikh/go-tools
|
%global forgeurl https://github.com/dominikh/go-tools
|
||||||
Version: 2021.1
|
Version: 2021.1.2
|
||||||
%global tag 2021.1
|
%global commit 852a31a10f5fc943bff9b7857d352b317e1bcc3e
|
||||||
|
|
||||||
%gometa
|
%gometa
|
||||||
|
|
||||||
@ -27,15 +27,21 @@ Source0: %{gosource}
|
|||||||
|
|
||||||
BuildRequires: golang(github.com/BurntSushi/toml)
|
BuildRequires: golang(github.com/BurntSushi/toml)
|
||||||
BuildRequires: golang(golang.org/x/tools/go/analysis)
|
BuildRequires: golang(golang.org/x/tools/go/analysis)
|
||||||
BuildRequires: golang(golang.org/x/tools/go/analysis/analysistest)
|
|
||||||
BuildRequires: golang(golang.org/x/tools/go/analysis/passes/inspect)
|
BuildRequires: golang(golang.org/x/tools/go/analysis/passes/inspect)
|
||||||
BuildRequires: golang(golang.org/x/tools/go/ast/astutil)
|
BuildRequires: golang(golang.org/x/tools/go/ast/astutil)
|
||||||
BuildRequires: golang(golang.org/x/tools/go/ast/inspector)
|
BuildRequires: golang(golang.org/x/tools/go/ast/inspector)
|
||||||
BuildRequires: golang(golang.org/x/tools/go/buildutil)
|
BuildRequires: golang(golang.org/x/tools/go/buildutil)
|
||||||
|
BuildRequires: golang(golang.org/x/tools/go/gcexportdata)
|
||||||
BuildRequires: golang(golang.org/x/tools/go/loader)
|
BuildRequires: golang(golang.org/x/tools/go/loader)
|
||||||
BuildRequires: golang(golang.org/x/tools/go/packages)
|
BuildRequires: golang(golang.org/x/tools/go/packages)
|
||||||
BuildRequires: golang(golang.org/x/tools/go/types/objectpath)
|
BuildRequires: golang(golang.org/x/tools/go/types/objectpath)
|
||||||
BuildRequires: golang(golang.org/x/tools/go/types/typeutil)
|
BuildRequires: golang(golang.org/x/tools/go/types/typeutil)
|
||||||
|
BuildRequires: golang(golang.org/x/tools/txtar)
|
||||||
|
|
||||||
|
%if %{with check}
|
||||||
|
# Tests
|
||||||
|
BuildRequires: golang(golang.org/x/tools/go/analysis/analysistest)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
%{common_description}
|
||||||
@ -57,8 +63,7 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
|||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
# https://github.com/dominikh/go-tools/issues/687
|
%gocheck -d staticcheck -d go/ir -d lintcmd
|
||||||
%gocheck -d unused -d staticcheck
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (go-tools-2021.1.tar.gz) = 270febf768515d3ce0aea65b7407d63e87e9611ab2ff1757380929e5f2373c75327b70e5194adfe935841c7319ad15c54841915e5cbfde76e5ac00e82bf2c8b9
|
SHA512 (go-tools-852a31a10f5fc943bff9b7857d352b317e1bcc3e.tar.gz) = 68e3405d03a124a4e568ccc97cd3df088fa7d78e8355862bb0f95ce68f5e21bf34bfe0f2737eb0c385a2dbd4462726b1846504847e7e6bfbeab5d9563dc81577
|
||||||
|
Loading…
Reference in New Issue
Block a user