db6750d
# Run tests in check section
db6750d
%bcond_without check
db6750d
db6750d
# https://github.com/opentracing/opentracing-go
db6750d
%global goipath         github.com/opentracing/opentracing-go
db6750d
Version:                1.1.0
db6750d
db6750d
%global common_description %{expand:
db6750d
This package is a Go platform API for OpenTracing.}
db6750d
db6750d
%gometa
db6750d
db6750d
Name:           %{goname}
db6750d
Release:        1%{?dist}
db6750d
Summary:        OpenTracing API for Go
db6750d
# Detected licences
db6750d
# - *No copyright* Apache License (v2.0) at 'LICENSE'
db6750d
License:        ASL 2.0
db6750d
URL:            %{gourl}
db6750d
Source0:        %{gosource}
db6750d
db6750d
BuildRequires: golang(github.com/stretchr/testify/assert)
db6750d
BuildRequires: golang(github.com/stretchr/testify/suite)
db6750d
db6750d
%description
db6750d
%{common_description}
db6750d
db6750d
db6750d
%package devel
db6750d
Summary:       %{summary}
db6750d
BuildArch:     noarch
db6750d
db6750d
%description devel
db6750d
%{common_description}
db6750d
db6750d
This package contains library source intended for
db6750d
building other packages which use import path with
db6750d
%{goipath} prefix.
db6750d
db6750d
db6750d
%prep
db6750d
%forgeautosetup
db6750d
db6750d
db6750d
%install
db6750d
%goinstall
db6750d
db6750d
db6750d
%if %{with check}
db6750d
%check
db6750d
%gochecks
db6750d
%endif
db6750d
db6750d
db6750d
%files devel -f devel.file-list
db6750d
%license LICENSE
db6750d
%doc README.md CHANGELOG.md
db6750d
db6750d
db6750d
%changelog
db6750d
* Thu Mar 14 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.1.0-1
db6750d
- First package for Fedora