Compare commits
No commits in common. "rawhide" and "f27" have entirely different histories.
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,11 +1 @@
|
||||
/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
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,79 @@
|
||||
# Generated by go2rpm 1.6.0
|
||||
# Run tests in check section
|
||||
# disable for bootstrapping
|
||||
%bcond_without check
|
||||
|
||||
# https://github.com/dominikh/go-tools
|
||||
%global goipath honnef.co/go/tools
|
||||
%global forgeurl https://github.com/dominikh/go-tools
|
||||
Version: 2021.1.2
|
||||
%global commit 852a31a10f5fc943bff9b7857d352b317e1bcc3e
|
||||
Version: 2017.2.2
|
||||
|
||||
%global common_description %{expand:
|
||||
Tools and libraries for working with Go, including linters and static analysis.}
|
||||
|
||||
%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}
|
||||
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
|
||||
Release: 1%{?dist}
|
||||
Summary: Tools and libraries for working with Go, including linters and static analysis
|
||||
License: MIT and BSD
|
||||
URL: %{gourl}
|
||||
Source0: %{gosource}
|
||||
Source0: %{gourl}/archive/%{version}/go-tools-%{version}.tar.gz
|
||||
|
||||
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/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/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
|
||||
BuildRequires: golang(github.com/kisielk/gotool)
|
||||
BuildRequires: golang(golang.org/x/tools/go/ast/astutil)
|
||||
BuildRequires: golang(golang.org/x/tools/go/loader)
|
||||
BuildRequires: golang(golang.org/x/tools/go/types/typeutil)
|
||||
|
||||
%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
|
||||
%goprep
|
||||
%forgeautosetup
|
||||
|
||||
|
||||
%build
|
||||
for cmd in cmd/*; do
|
||||
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
|
||||
%gobuildroot
|
||||
for cmd in $(ls -1 cmd) ; do
|
||||
%gobuild -o _bin/$cmd %{goipath}/cmd/$cmd
|
||||
done
|
||||
|
||||
|
||||
%install
|
||||
%gopkginstall
|
||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
||||
%goinstall
|
||||
for cmd in $(ls -1 _bin) ; do
|
||||
install -Dpm 0755 _bin/$cmd %{buildroot}%{_bindir}/$cmd
|
||||
done
|
||||
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%gocheck -d staticcheck -d go/ir -d lintcmd
|
||||
%gochecks
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/*
|
||||
|
||||
%gopkgfiles
|
||||
|
||||
%files devel -f devel.file-list
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
* 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-2017.2.2.tar.gz) = 8235d3b39aeb6e482404e5b75001980590ef575ec140db28f8b217e51b9c3538c94f5789f5135dbb5fbf4174fb34a3fdd045252c340bb8586c76faed89ee5a12
|
||||
|
Loading…
Reference in New Issue
Block a user