# Generated by go2rpm %bcond_without check # https://github.com/hashicorp/go-hclog %global goipath github.com/hashicorp/go-hclog Version: 0.15.0 %gometa %global common_description %{expand: Go-hclog is a package for Go that provides a simple key/value logging interface for use in development and production environments.} %global golicenses LICENSE %global godocs README.md README-hclogvet.md Name: %{goname} Release: 7%{?dist} Summary: Common logging package for hashicorp tools License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/fatih/color) BuildRequires: golang(github.com/mattn/go-isatty) 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/analysis/singlechecker) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep mv hclogvet/README.md README-hclogvet.md %build for cmd in hclogvet; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check # .: TestInterceptLogger fixed next release %gocheck -d . %endif %files %license LICENSE %doc README.md README-hclogvet.md %{_bindir}/* %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering - 0.15.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 0.15.0-6 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jun 18 2022 Robert-André Mauchin - 0.15.0-5 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Thu Jan 20 2022 Fedora Release Engineering - 0.15.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.15.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Dec 19 14:10:28 CET 2020 Robert-André Mauchin - 0.15.0-1 - Update to 0.15.0 - Close: rhbz#1895550 * Mon Jul 27 2020 Fedora Release Engineering - 0.14.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 19:24:24 CEST 2020 Robert-André Mauchin - 0.14.1-1 - Update to 0.14.1 * Wed Jan 29 2020 Fedora Release Engineering - 0.9.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.9.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jul 09 2019 Elliott Sales de Andrade - 0.9.2-2 - Add Obsoletes for old name * Tue Apr 30 17:29:13 CEST 2019 Robert-André Mauchin - 0.9.2-1 - Release 0.9.2 * Fri Feb 01 2019 Fedora Release Engineering - 0-0.4.20171005gitca137eb - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0-0.3.20171005gitca137eb - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0-0.2.20171005gitca137eb - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Oct 07 2017 Ed Marshall - 0-0.1.20171005gitca137eb - First package for Fedora