# Generated by go2rpm 1.3 # Disable tests due to circular dependency with minimock %bcond_with check # debugsource comes out empty for some reason, so disable this for now %global debug_package %{nil} # https://github.com/hexdigest/gowrap %global goipath github.com/hexdigest/gowrap Version: 1.1.12 %gometa %global common_description %{expand: GoWrap is a command line tool that generates decorators for Go interface types using simple templates. With GoWrap you can easily add metrics, tracing, fallbacks, pools, and many other features into your existing code in a few seconds.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 7%{?dist} Summary: GoWrap is a command line tool for generating decorators for Go interfaces License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/opentracing/opentracing-go) BuildRequires: golang(github.com/opentracing/opentracing-go/ext) BuildRequires: golang(github.com/opentracing/opentracing-go/log) BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(github.com/prometheus/client_golang/prometheus) BuildRequires: golang(github.com/prometheus/client_golang/prometheus/promauto) BuildRequires: golang(github.com/sirupsen/logrus) BuildRequires: golang(github.com/twitchtv/twirp) BuildRequires: golang(golang.org/x/tools/go/packages) BuildRequires: golang(golang.org/x/tools/imports) BuildRequires: golang(google.golang.org/grpc/codes) BuildRequires: golang(google.golang.org/grpc/status) %if %{with check} # Tests BuildRequires: golang(github.com/gojuno/minimock/v3) BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %package -n gowrap Summary: %{summary} %description -n gowrap %{common_description} %gopkg %prep %goprep %build %gobuild -o %{gobuilddir}/bin/gowrap %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files -n gowrap %license LICENSE %doc README.md %{_bindir}/* %gopkgfiles %changelog * Wed Aug 10 2022 Maxwell G - 1.1.12-7 - Rebuild to fix FTBFS * Thu Jul 21 2022 Fedora Release Engineering - 1.1.12-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 1.1.12-5 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jul 09 2022 Maxwell G - 1.1.12-4 - Rebuild for CVE-2022-{24675,28327,29526 in golang} * Thu Jan 20 2022 Fedora Release Engineering - 1.1.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.1.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jun 19 2021 Davide Cavalca - 1.1.12-1 - Initial package