Compare commits

..

1 Commits
rawhide ... f35

Author SHA1 Message Date
Maxwell G
316a0cbc8b
Rebuild for CVE-2022-{24675,28327,29526} in golang 2022-07-08 19:24:50 -05:00
3 changed files with 7 additions and 14 deletions

2
.gitignore vendored
View File

@ -7,5 +7,3 @@
/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

View File

@ -1,11 +1,11 @@
# Generated by go2rpm 1.6.0 # Generated by go2rpm
%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.2 Version: 2021.1
%global commit 852a31a10f5fc943bff9b7857d352b317e1bcc3e %global tag 2021.1
%gometa %gometa
@ -27,21 +27,15 @@ 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}
@ -63,7 +57,8 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
%if %{with check} %if %{with check}
%check %check
%gocheck -d staticcheck -d go/ir -d lintcmd # https://github.com/dominikh/go-tools/issues/687
%gocheck -d unused -d staticcheck
%endif %endif
%files %files

View File

@ -1 +1 @@
SHA512 (go-tools-852a31a10f5fc943bff9b7857d352b317e1bcc3e.tar.gz) = 68e3405d03a124a4e568ccc97cd3df088fa7d78e8355862bb0f95ce68f5e21bf34bfe0f2737eb0c385a2dbd4462726b1846504847e7e6bfbeab5d9563dc81577 SHA512 (go-tools-2021.1.tar.gz) = 270febf768515d3ce0aea65b7407d63e87e9611ab2ff1757380929e5f2373c75327b70e5194adfe935841c7319ad15c54841915e5cbfde76e5ac00e82bf2c8b9