Compare commits

...

25 Commits
f27 ... rawhide

Author SHA1 Message Date
Fedora Release Engineering
c5ee81f5e5 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 12:22:14 +00:00
Maxwell G
6d6962d03f
Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang 2022-07-19 13:58:03 -05:00
Robert-André Mauchin
18a8f79559 Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 2022-06-18 11:58:36 +02:00
Robert-André Mauchin
a690f29186 Bump to commit 852a31a10f5fc943bff9b7857d352b317e1bcc3e (fix FTBFS) Close: rhbz#2045645 Close: rhbz#1994431 2022-03-05 00:33:49 +01:00
Fedora Release Engineering
7054d4c14e - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 11:11:42 +00:00
Robert-André Mauchin
abf860b24f Update to 2021.1 Close: rhbz#1930645 2021-08-05 17:08:52 +02:00
Robert-André Mauchin
54bda47db0 Convert to rpmautospec 2021-08-05 17:03:39 +02:00
Fedora Release Engineering
92b5cf9191 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 06:33:12 +00:00
Fedora Release Engineering
557a9b1b83 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 12:27:07 +00:00
Robert-André Mauchin
56f91c711a
Fix list of commands to build
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
2021-01-22 21:53:35 +01:00
Robert-André Mauchin
7a380f26da
Update to 2020.2.1
Close: rhbz#1918542

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
2021-01-22 20:30:03 +01:00
Robert-André Mauchin
fdd9a4ce85
Update to 2020.2
Close: rhbz#1887385

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
2020-12-26 10:38:25 +01:00
Robert-André Mauchin
71137f3b26
Disable some tests
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
2020-08-06 16:13:07 +02:00
Robert-André Mauchin
1a4e8fad38
Update to 2020.1.5
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
2020-08-06 15:17:35 +02:00
Fedora Release Engineering
948495b032 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 23:52:27 +00:00
Robert-André Mauchin
7decbaafc1 Update to 2019.2.3
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
2020-02-05 17:18:51 +01:00
Fedora Release Engineering
663a5e7df9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 02:54:27 +00:00
Robert-André Mauchin
c4909a8acf Fix command list
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
2019-08-03 00:19:54 +02:00
Robert-André Mauchin
b8df2b5281 Release 2019.2.2
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
2019-08-03 00:12:21 +02:00
Fedora Release Engineering
6499cf4c37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 07:13:39 +00:00
Robert-André Mauchin
53842916a0 Update to new macros
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
2019-05-16 23:22:31 +02:00
Robert-André Mauchin
8ee73da857 Release 2019.1.1 (#1689449) 2019-03-17 22:04:06 +01:00
Robert-André Mauchin
8f5dd715b6 Update to 2019.1
Fixes #1675047

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
2019-02-20 03:04:25 +01:00
Fedora Release Engineering
8e5f917df8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 01:14:45 +00:00
Fedora Release Engineering
9d386ebb17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 04:18:50 +00:00
4 changed files with 109 additions and 51 deletions

10
.gitignore vendored
View File

@ -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
View 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

View File

@ -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

View File

@ -1 +1 @@
SHA512 (go-tools-2017.2.2.tar.gz) = 8235d3b39aeb6e482404e5b75001980590ef575ec140db28f8b217e51b9c3538c94f5789f5135dbb5fbf4174fb34a3fdd045252c340bb8586c76faed89ee5a12 SHA512 (go-tools-852a31a10f5fc943bff9b7857d352b317e1bcc3e.tar.gz) = 68e3405d03a124a4e568ccc97cd3df088fa7d78e8355862bb0f95ce68f5e21bf34bfe0f2737eb0c385a2dbd4462726b1846504847e7e6bfbeab5d9563dc81577