Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
1ff48c9fbd | ||
|
d90653c7e5 |
8
.gitignore
vendored
8
.gitignore
vendored
@ -1,11 +1,3 @@
|
|||||||
/go-tools-2017.2.2.tar.gz
|
/go-tools-2017.2.2.tar.gz
|
||||||
/go-tools-2019.1.tar.gz
|
/go-tools-2019.1.tar.gz
|
||||||
/go-tools-2019.1.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
50
changelog
@ -1,50 +0,0 @@
|
|||||||
* 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,77 +1,94 @@
|
|||||||
# Generated by go2rpm 1.6.0
|
# Run tests in check section
|
||||||
|
# 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: 2021.1.2
|
Version: 2019.1.1
|
||||||
%global commit 852a31a10f5fc943bff9b7857d352b317e1bcc3e
|
|
||||||
|
%global common_description %{expand:
|
||||||
|
Tools and libraries for working with Go, including linters and static analysis.}
|
||||||
|
|
||||||
%gometa
|
%gometa
|
||||||
|
|
||||||
%global common_description %{expand:
|
|
||||||
honnef.co/go/tools/... is a collection of tools and libraries for working with
|
|
||||||
Go code, including linters and static analysis, most prominently staticcheck.}
|
|
||||||
|
|
||||||
%global golicenses LICENSE
|
|
||||||
%global godocs README.md
|
|
||||||
|
|
||||||
Name: %{goname}
|
Name: %{goname}
|
||||||
Release: %autorelease
|
Release: 1%{?dist}
|
||||||
Summary: Collection of static analysis tools for working with Go code
|
Summary: Tools and libraries for working with Go, including linters and static analysis
|
||||||
|
License: MIT and BSD
|
||||||
# Upstream license specification: BSD-3-Clause and MIT
|
|
||||||
License: BSD and MIT
|
|
||||||
URL: %{gourl}
|
URL: %{gourl}
|
||||||
Source0: %{gosource}
|
Source0: %{gourl}/archive/%{version}/go-tools-%{version}.tar.gz
|
||||||
|
|
||||||
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/ast/astutil)
|
||||||
BuildRequires: golang(golang.org/x/tools/go/analysis/passes/inspect)
|
BuildRequires: golang(golang.org/x/tools/go/loader)
|
||||||
BuildRequires: golang(golang.org/x/tools/go/ast/astutil)
|
BuildRequires: golang(golang.org/x/tools/go/packages)
|
||||||
BuildRequires: golang(golang.org/x/tools/go/ast/inspector)
|
BuildRequires: golang(golang.org/x/tools/go/types/typeutil)
|
||||||
BuildRequires: golang(golang.org/x/tools/go/buildutil)
|
BuildRequires: golang(github.com/kisielk/gotool)
|
||||||
BuildRequires: golang(golang.org/x/tools/go/gcexportdata)
|
|
||||||
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/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
|
||||||
%goprep
|
%forgeautosetup
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
for cmd in cmd/*; do
|
%gobuildroot
|
||||||
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
|
for cmd in $(ls -1 cmd) ; do
|
||||||
|
%gobuild -o _bin/$cmd %{goipath}/cmd/$cmd
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%gopkginstall
|
%goinstall
|
||||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
for cmd in $(ls -1 _bin) ; do
|
||||||
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
install -Dpm 0755 _bin/$cmd %{buildroot}%{_bindir}/$cmd
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
%gocheck -d staticcheck -d go/ir -d lintcmd
|
%gochecks
|
||||||
%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
|
||||||
%autochangelog
|
* 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
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (go-tools-852a31a10f5fc943bff9b7857d352b317e1bcc3e.tar.gz) = 68e3405d03a124a4e568ccc97cd3df088fa7d78e8355862bb0f95ce68f5e21bf34bfe0f2737eb0c385a2dbd4462726b1846504847e7e6bfbeab5d9563dc81577
|
SHA512 (go-tools-2019.1.1.tar.gz) = 5a0c1000be99aa477e0310acba4b722f0c73e7a8311c9287af9144b8fe99aad1abcc339a9dfa547c269718a811f5ece4ffc254cbb5055ac154d2e27a3e25d6d0
|
||||||
|
Loading…
Reference in New Issue
Block a user