# Generated by go2rpm 1.11.1 %bcond_without check %global debug_package %{nil} # https://github.com/hashicorp/go-version %global goipath github.com/hashicorp/go-version Version: 1.7.0 %gometa -L %global common_description %{expand: Go-version is a library for parsing versions and version constraints, and verifying versions against a set of constraints. go-version can sort a collection of versions properly, handles prerelease/beta versions, can increment versions, etc.} %global golicenses LICENSE %global godocs CHANGELOG.md README.md Name: golang-github-hashicorp-version Release: %autorelease Summary: Go library for parsing and verifying versions and version constraints License: MPL-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog