1 |
guillomovitch |
1755439 |
# Generated by go2rpm |
2 |
|
|
# https://github.com/asaskevich/govalidator/issues/336 |
3 |
|
|
%bcond_with check |
4 |
|
|
|
5 |
|
|
# https://github.com/asaskevich/govalidator |
6 |
|
|
%global goipath github.com/asaskevich/govalidator |
7 |
|
|
Version: 11.0.1 |
8 |
|
|
|
9 |
|
|
%gometa |
10 |
|
|
|
11 |
|
|
%global common_description %{expand: |
12 |
|
|
Package Govalidator is package of validators and sanitizers for strings, structs |
13 |
|
|
and collections.} |
14 |
|
|
|
15 |
|
|
%global golicenses LICENSE |
16 |
|
|
%global godocs CONTRIBUTING.md README.md |
17 |
|
|
|
18 |
|
|
Name: %{goname} |
19 |
|
|
Release: %mkrel 1 |
20 |
|
|
Summary: Validators and sanitizers for strings, numerics, slices and structs |
21 |
guillomovitch |
1755441 |
Group: Development/Other |
22 |
guillomovitch |
1755439 |
|
23 |
|
|
License: MIT |
24 |
|
|
URL: %{gourl} |
25 |
|
|
Source0: %{gosource} |
26 |
|
|
BuildArch: noarch |
27 |
|
|
|
28 |
|
|
%description |
29 |
|
|
%{common_description} |
30 |
|
|
|
31 |
|
|
%gopkg |
32 |
|
|
|
33 |
|
|
%prep |
34 |
|
|
%goprep |
35 |
|
|
|
36 |
|
|
%install |
37 |
|
|
%gopkginstall |
38 |
|
|
|
39 |
|
|
%if %{with check} |
40 |
|
|
%check |
41 |
|
|
%gocheck |
42 |
|
|
%endif |
43 |
|
|
|
44 |
|
|
%gopkgfiles |