1 |
# Generated by go2rpm 1.6.0 |
2 |
%bcond_with check |
3 |
|
4 |
# https://github.com/apex/logs |
5 |
%global goipath github.com/apex/logs |
6 |
Version: 1.1.0 |
7 |
|
8 |
%gometa |
9 |
|
10 |
%global common_description %{expand: |
11 |
Apex Logs client for Go.} |
12 |
|
13 |
%global golicenses LICENSE |
14 |
%global godocs History.md Readme.md |
15 |
|
16 |
Name: %{goname} |
17 |
Release: %mkrel 3 |
18 |
Summary: Apex Logs client for Go |
19 |
Group: Development/Golang |
20 |
BuildArch: noarch |
21 |
License: MIT |
22 |
URL: %{gourl} |
23 |
Source0: %{gosource} |
24 |
|
25 |
%if %{with check} |
26 |
# Tests |
27 |
BuildRequires: golang(github.com/tj/assert) |
28 |
%endif |
29 |
|
30 |
%description |
31 |
%{common_description} |
32 |
|
33 |
%gopkg |
34 |
|
35 |
%prep |
36 |
%goprep |
37 |
|
38 |
%install |
39 |
%gopkginstall |
40 |
|
41 |
%if %{with check} |
42 |
%check |
43 |
%gocheck |
44 |
%endif |
45 |
|
46 |
%gopkgfiles |