1 |
guillomovitch |
1879680 |
# 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 |
umeabot |
2249244 |
Release: %mkrel 3 |
18 |
guillomovitch |
1879680 |
Summary: Apex Logs client for Go |
19 |
wally |
2133536 |
Group: Development/Golang |
20 |
pterjan |
2168777 |
BuildArch: noarch |
21 |
guillomovitch |
1879680 |
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 |