Compare commits
25 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
c5ee81f5e5 | ||
|
6d6962d03f | ||
|
18a8f79559 | ||
|
a690f29186 | ||
|
7054d4c14e | ||
|
abf860b24f | ||
|
54bda47db0 | ||
|
92b5cf9191 | ||
|
557a9b1b83 | ||
|
56f91c711a | ||
|
7a380f26da | ||
|
fdd9a4ce85 | ||
|
71137f3b26 | ||
|
1a4e8fad38 | ||
|
948495b032 | ||
|
7decbaafc1 | ||
|
663a5e7df9 | ||
|
c4909a8acf | ||
|
b8df2b5281 | ||
|
6499cf4c37 | ||
|
53842916a0 | ||
|
8ee73da857 | ||
|
8f5dd715b6 | ||
|
8e5f917df8 | ||
|
9d386ebb17 |
10
.gitignore
vendored
10
.gitignore
vendored
@ -1 +1,11 @@
|
|||||||
/go-tools-2017.2.2.tar.gz
|
/go-tools-2017.2.2.tar.gz
|
||||||
|
/go-tools-2019.1.tar.gz
|
||||||
|
/go-tools-2019.1.1.tar.gz
|
||||||
|
/go-tools-2019.2.2.tar.gz
|
||||||
|
/go-tools-2019.2.3.tar.gz
|
||||||
|
/go-tools-2020.1.5.tar.gz
|
||||||
|
/go-tools-2020.2.tar.gz
|
||||||
|
/go-tools-2020.2.1.tar.gz
|
||||||
|
/go-tools-2021.1.tar.gz
|
||||||
|
/go-tools-2021.1.2.tar.gz
|
||||||
|
/go-tools-852a31a10f5fc943bff9b7857d352b317e1bcc3e.tar.gz
|
||||||
|
50
changelog
Normal file
50
changelog
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2020.2.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2020.2.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 22 20:27:02 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 2020.2.1-1
|
||||||
|
- Update to 2020.2.1
|
||||||
|
- Close: rhbz#1918542
|
||||||
|
|
||||||
|
* Sat Dec 26 10:18:07 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 2020.2-1
|
||||||
|
- Update to 2020.2
|
||||||
|
- Close: rhbz#1887385
|
||||||
|
|
||||||
|
* Thu Aug 06 14:57:49 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 2020.1.5-1
|
||||||
|
- Update to 2020.1.5
|
||||||
|
|
||||||
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2019.2.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 05 16:57:55 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 2019.2.3-1
|
||||||
|
- Update to 2019.2.3
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2019.2.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 29 23:25:11 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2019.2.2-1
|
||||||
|
- Release 2019.2.2
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2019.1.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu May 16 22:58:09 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2019.1.1-2
|
||||||
|
- Update to new macros
|
||||||
|
|
||||||
|
* Sun Mar 17 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2019.1.1-1
|
||||||
|
- Release 2019.1.1 (#1689449)
|
||||||
|
|
||||||
|
* Tue Feb 19 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2019.1-1
|
||||||
|
- Update to 2019.1
|
||||||
|
- Fixes #1675047
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2017.2.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2017.2.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Mar 23 2018 Robert-André Mauchin <zebob.m@gmail.com> - 2017.2.2-1
|
||||||
|
- First package for Fedora
|
@ -1,79 +1,77 @@
|
|||||||
# Run tests in check section
|
# Generated by go2rpm 1.6.0
|
||||||
# disable for bootstrapping
|
|
||||||
%bcond_without check
|
%bcond_without check
|
||||||
|
|
||||||
|
# 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: 2017.2.2
|
Version: 2021.1.2
|
||||||
|
%global commit 852a31a10f5fc943bff9b7857d352b317e1bcc3e
|
||||||
%global common_description %{expand:
|
|
||||||
Tools and libraries for working with Go, including linters and static analysis.}
|
|
||||||
|
|
||||||
%gometa
|
%gometa
|
||||||
|
|
||||||
Name: %{goname}
|
%global common_description %{expand:
|
||||||
Release: 1%{?dist}
|
honnef.co/go/tools/... is a collection of tools and libraries for working with
|
||||||
Summary: Tools and libraries for working with Go, including linters and static analysis
|
Go code, including linters and static analysis, most prominently staticcheck.}
|
||||||
License: MIT and BSD
|
|
||||||
URL: %{gourl}
|
|
||||||
Source0: %{gourl}/archive/%{version}/go-tools-%{version}.tar.gz
|
|
||||||
|
|
||||||
BuildRequires: golang(github.com/kisielk/gotool)
|
%global golicenses LICENSE
|
||||||
|
%global godocs README.md
|
||||||
|
|
||||||
|
Name: %{goname}
|
||||||
|
Release: %autorelease
|
||||||
|
Summary: Collection of static analysis tools for working with Go code
|
||||||
|
|
||||||
|
# Upstream license specification: BSD-3-Clause and MIT
|
||||||
|
License: BSD and MIT
|
||||||
|
URL: %{gourl}
|
||||||
|
Source0: %{gosource}
|
||||||
|
|
||||||
|
BuildRequires: golang(github.com/BurntSushi/toml)
|
||||||
|
BuildRequires: golang(golang.org/x/tools/go/analysis)
|
||||||
|
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/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/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}
|
||||||
|
|
||||||
|
%gopkg
|
||||||
%package devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
%{common_description}
|
|
||||||
|
|
||||||
This package contains library source intended for
|
|
||||||
building other packages which use import path with
|
|
||||||
%{goipath} prefix.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%forgeautosetup
|
%goprep
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%gobuildroot
|
for cmd in cmd/*; do
|
||||||
for cmd in $(ls -1 cmd) ; do
|
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
|
||||||
%gobuild -o _bin/$cmd %{goipath}/cmd/$cmd
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%goinstall
|
%gopkginstall
|
||||||
for cmd in $(ls -1 _bin) ; do
|
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||||
install -Dpm 0755 _bin/$cmd %{buildroot}%{_bindir}/$cmd
|
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
%gochecks
|
%gocheck -d staticcheck -d go/ir -d lintcmd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
|
%gopkgfiles
|
||||||
%files devel -f devel.file-list
|
|
||||||
%license LICENSE
|
|
||||||
%doc README.md
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Mar 23 2018 Robert-André Mauchin <zebob.m@gmail.com> - 2017.2.2-1
|
%autochangelog
|
||||||
- First package for Fedora
|
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (go-tools-2017.2.2.tar.gz) = 8235d3b39aeb6e482404e5b75001980590ef575ec140db28f8b217e51b9c3538c94f5789f5135dbb5fbf4174fb34a3fdd045252c340bb8586c76faed89ee5a12
|
SHA512 (go-tools-852a31a10f5fc943bff9b7857d352b317e1bcc3e.tar.gz) = 68e3405d03a124a4e568ccc97cd3df088fa7d78e8355862bb0f95ce68f5e21bf34bfe0f2737eb0c385a2dbd4462726b1846504847e7e6bfbeab5d9563dc81577
|
||||||
|
Loading…
Reference in New Issue
Block a user