Update to latest version
This commit is contained in:
parent
270f41f603
commit
70e2c9704c
|
@ -12,3 +12,4 @@
|
|||
/tools-0.1.10.tar.gz
|
||||
/tools-gopls-v0.9.1.tar.gz
|
||||
/tools-0.1.12.tar.gz
|
||||
/tools-0.6.0.tar.gz
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
# Generated by go2rpm
|
||||
%bcond_without check
|
||||
%bcond_with check
|
||||
%bcond bootstrap 1
|
||||
|
||||
# https://github.com/golang/tools
|
||||
%global goipath golang.org/x/tools
|
||||
%global forgeurl https://github.com/golang/tools
|
||||
Epoch: 1
|
||||
Version: 0.1.12
|
||||
Version: 0.6.0
|
||||
|
||||
%gometa
|
||||
|
||||
|
@ -25,7 +26,8 @@ Single Assignment form (SSA) representation for Go programs.}
|
|||
%global golicenses LICENSE PATENTS
|
||||
%global godocs CONTRIBUTING.md README.md
|
||||
|
||||
%global commands benchcmp bundle callgraph compilebench cover digraph eg fiximports getgo go-contrib-init godex godoc goimports gomvpkg gorename gotype goyacc guru html2article present splitdwarf ssadump stress stringer toolstash
|
||||
%global auth_commands authtest cookieauth gitauth netrcauth
|
||||
%global commands benchcmp bundle callgraph compilebench digraph eg file2fuzz fiximports getgo go-contrib-init godex godoc goimports gomvpkg gorename gotype goyacc guru html2article present splitdwarf ssadump stress stringer toolstash
|
||||
|
||||
Name: %{goname}
|
||||
Release: %autorelease
|
||||
|
@ -64,6 +66,12 @@ Summary: Tool for creating articles from HTML files
|
|||
This program takes an HTML file and outputs a corresponding article file
|
||||
in present format. See: golang.org/x/tools/present
|
||||
|
||||
%package auth
|
||||
Summary: Tools implementing the GOAUTH protocol
|
||||
|
||||
%description auth
|
||||
%{summary}.
|
||||
|
||||
%package callgraph
|
||||
Summary: Tool for reporting the call graph of a Go program
|
||||
|
||||
|
@ -78,14 +86,6 @@ Summary: Benchmarks the speed of the Go compiler
|
|||
|
||||
See https://godoc.org/golang.org/x/tools/cmd/compilebench for more information.
|
||||
|
||||
%package cover
|
||||
Summary: Tool for analyzing Go coverage profiles
|
||||
|
||||
%description cover
|
||||
%{summary}.
|
||||
|
||||
See https://godoc.org/golang.org/x/tools/cmd/cover for more information.
|
||||
|
||||
%package digraph
|
||||
Summary: Tool for queries over unlabelled directed graphs in text form
|
||||
|
||||
|
@ -140,6 +140,12 @@ Summary: Example-based refactoring for the Go programming language
|
|||
|
||||
See `eg -help` for more information.
|
||||
|
||||
%package file2fuzz
|
||||
Summary: Convert binary files to the Go fuzzing corpus format
|
||||
|
||||
%description file2fuzz
|
||||
%{summary}.
|
||||
|
||||
%package fiximports
|
||||
Summary: Fixes import declarations to use the canonical import path
|
||||
|
||||
|
@ -253,6 +259,9 @@ find . -type f -name "*.go" -exec sed -i "s|mvdan.cc/xurls/v2|mvdan.cc/xurls|" "
|
|||
%go_generate_buildrequires
|
||||
|
||||
%build
|
||||
for cmd in %auth_commands; do
|
||||
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/cmd/auth/$cmd
|
||||
done
|
||||
for cmd in %commands; do
|
||||
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/cmd/$cmd
|
||||
done
|
||||
|
@ -291,6 +300,14 @@ mv %{buildroot}%{_bindir}/bundle %{buildroot}%{_bindir}/gobundle
|
|||
%license %{golicenses}
|
||||
%{_bindir}/godex
|
||||
|
||||
%files auth
|
||||
%doc %{godocs}
|
||||
%license %{golicenses}
|
||||
%{_bindir}/authtest
|
||||
%{_bindir}/cookieauth
|
||||
%{_bindir}/gitauth
|
||||
%{_bindir}/netrcauth
|
||||
|
||||
%files callgraph
|
||||
%doc %{godocs}
|
||||
%license %{golicenses}
|
||||
|
@ -301,11 +318,6 @@ mv %{buildroot}%{_bindir}/bundle %{buildroot}%{_bindir}/gobundle
|
|||
%license %{golicenses}
|
||||
%{_bindir}/compilebench
|
||||
|
||||
%files cover
|
||||
%doc %{godocs}
|
||||
%license %{golicenses}
|
||||
%{_bindir}/cover
|
||||
|
||||
%files digraph
|
||||
%doc %{godocs}
|
||||
%license %{golicenses}
|
||||
|
@ -326,6 +338,11 @@ mv %{buildroot}%{_bindir}/bundle %{buildroot}%{_bindir}/gobundle
|
|||
%license %{golicenses}
|
||||
%{_bindir}/eg
|
||||
|
||||
%files file2fuzz
|
||||
%doc %{godocs}
|
||||
%license %{golicenses}
|
||||
%{_bindir}/file2fuzz
|
||||
|
||||
%files fiximports
|
||||
%doc %{godocs}
|
||||
%license %{golicenses}
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (tools-0.1.12.tar.gz) = 6fa986e63fb30ee6a7077961efca35c94b90f773f7709c1f4e58e49116342d376c259839781c48f48c21ee5504bbf801dc03e21dd9b4a0d27e07bf17956e20a0
|
||||
SHA512 (tools-0.6.0.tar.gz) = 096e7f17c63679e2256dfabfdb8c0f7cf1e4904c13960f1b6400bb8bc1c602fc14914fe0bd4c073b2503dc46569d74672651644f20599960f162775d80f99c6e
|
||||
|
|
Loading…
Reference in New Issue