Blob Blame Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/jacobsa/reqtrace
%global goipath         github.com/jacobsa/reqtrace
%global commit          245c9e0234cb2ad542483a336324e982f1a22934

%gometa

%global common_description %{expand:
A lightweight request tracing package for Go.}

Name:           %{goname}
Version:        0
Release:        0.1%{?dist}
Summary:        A lightweight request tracing package for Go

# Upstream license specification: Apache-2.0
License:        ASL 2.0
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(golang.org/x/net/context)

%description
%{common_description}

%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
%forgeautosetup

%install
%goinstall

%if %{with check}
%check
%gochecks
%endif

%files devel -f devel.file-list
%license LICENSE
%doc README.md

%changelog
* Fri May 17 22:25:22 CEST 2019 Brian (bex) Exelbierd <bex@pobox.com> - 0-0.1.20190517git245c9e0
- Initial package