9be0127
# Generated by go2rpm 1.9.0
ed473bc
%bcond_without check
9be0127
%global debug_package %{nil}
ed473bc
ed473bc
# https://github.com/rs/xid
ed473bc
%global goipath         github.com/rs/xid
9be0127
Version:                1.5.0
ed473bc
ed473bc
%gometa
ed473bc
ed473bc
%global common_description %{expand:
ed473bc
Package Xid is a globally unique id generator library, ready to be used safely
ed473bc
directly in your server code.
ed473bc
ed473bc
Xid is using Mongo Object ID algorithm to generate globally unique ids with a
ed473bc
different serialization (base64) to make it shorter when transported as a
ed473bc
string.}
ed473bc
ed473bc
%global golicenses      LICENSE
ed473bc
%global godocs          README.md
ed473bc
ed473bc
Name:           %{goname}
a0c048e
Release:        %autorelease
ed473bc
Summary:        Globally unique id generator thought for the web
ed473bc
ed473bc
License:        MIT
ed473bc
URL:            %{gourl}
9be0127
Source:         %{gosource}
ed473bc
9be0127
%description %{common_description}
ed473bc
ed473bc
%gopkg
ed473bc
ed473bc
%prep
ed473bc
%goprep
9be0127
%autopatch -p1
9be0127
9be0127
%generate_buildrequires
9be0127
%go_generate_buildrequires
ed473bc
ed473bc
%install
ed473bc
%gopkginstall
ed473bc
ed473bc
%if %{with check}
ed473bc
%check
ed473bc
%gocheck
ed473bc
%endif
ed473bc
ed473bc
%gopkgfiles
ed473bc
ed473bc
%changelog
a0c048e
%autochangelog