Blame golang-github-hashicorp-version.spec

d7dd518
# Generated by go2rpm
d7dd518
%bcond_without check
d7dd518
d7dd518
# https://github.com/hashicorp/go-version
d7dd518
%global goipath         github.com/hashicorp/go-version
996c7d1
Version:                1.4.0
f5e91e2
f5e91e2
%gometa
f5e91e2
d7dd518
%global common_description %{expand:
d7dd518
Go-version is a library for parsing versions and version constraints, and
d7dd518
verifying versions against a set of constraints. go-version can sort a
d7dd518
collection of versions properly, handles prerelease/beta versions, can increment
d7dd518
versions, etc.}
d7dd518
d7dd518
%global golicenses      LICENSE
d7dd518
%global godocs          README.md
d7dd518
f5e91e2
Name:           %{goname}
c1ef97c
Release:        %autorelease
d7dd518
Summary:        Go library for parsing and verifying versions and version constraints
d7dd518
d7dd518
# Upstream license specification: MPL-2.0
f5e91e2
License:        MPLv2.0
f5e91e2
URL:            %{gourl}
f5e91e2
Source0:        %{gosource}
f5e91e2
f5e91e2
%description
d7dd518
%{common_description}
f5e91e2
d7dd518
%gopkg
f5e91e2
f5e91e2
%prep
d7dd518
%goprep
f5e91e2
f5e91e2
%install
d7dd518
%gopkginstall
f5e91e2
d7dd518
%if %{with check}
f5e91e2
%check
d7dd518
%gocheck
d7dd518
%endif
f5e91e2
d7dd518
%gopkgfiles
f5e91e2
f5e91e2
%changelog
c1ef97c
%autochangelog