1 |
pterjan |
1336344 |
# Run tests in check section |
2 |
guillomovitch |
1879935 |
%bcond_without check |
3 |
pterjan |
1336344 |
|
4 |
guillomovitch |
1879935 |
# https://github.com/anmitsu/go-shlex |
5 |
pterjan |
1336344 |
%global goipath github.com/anmitsu/go-shlex |
6 |
guillomovitch |
1879935 |
%global commit 38f4b401e2be5955e3e00b843d96e3c406f5094d |
7 |
pterjan |
1336344 |
|
8 |
guillomovitch |
1879935 |
%gometa |
9 |
|
|
|
10 |
pterjan |
1336344 |
%global common_description %{expand: |
11 |
|
|
go-shlex is a library to make a lexical analyzer like Unix shell for Go.} |
12 |
|
|
|
13 |
guillomovitch |
1879935 |
%global golicenses LICENSE |
14 |
|
|
%global godocs README.md |
15 |
pterjan |
1336344 |
|
16 |
|
|
Name: %{goname} |
17 |
|
|
Version: 0 |
18 |
guillomovitch |
1879935 |
Release: 1 |
19 |
pterjan |
1336344 |
Summary: Library to make a lexical analyzer like Unix shell for golang |
20 |
|
|
Group: Development/Other |
21 |
|
|
License: MIT |
22 |
|
|
URL: %{gourl} |
23 |
|
|
Source0: %{gosource} |
24 |
|
|
|
25 |
|
|
%description |
26 |
|
|
%{common_description} |
27 |
|
|
|
28 |
joequant |
1628127 |
%gopkg |
29 |
pterjan |
1336344 |
|
30 |
|
|
%prep |
31 |
joequant |
1628127 |
%goprep |
32 |
pterjan |
1336344 |
|
33 |
|
|
%install |
34 |
joequant |
1628127 |
%gopkginstall |
35 |
pterjan |
1336344 |
|
36 |
|
|
%if %{with check} |
37 |
|
|
%check |
38 |
joequant |
1628127 |
%gocheck |
39 |
pterjan |
1336344 |
%endif |
40 |
|
|
|
41 |
joequant |
1628127 |
%gopkgfiles |