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