# Generated by go2rpm %bcond_without check # https://github.com/Masterminds/semver %global goipath github.com/Masterminds/semver Version: 3.1.1 %gometa %global goaltipaths github.com/Masterminds/semver/v3 %global common_description %{expand: The semver package provides the ability to work with Semantic Versions in Go. Specifically it provides the ability to: - Parse semantic versions - Sort semantic versions - Check if a semantic version fits within a set of constraints - Optionally work with a v prefix} %global golicenses LICENSE.txt %global godocs CHANGELOG.md README.md %global gosupfiles glide.lock glide.yaml Name: %{goname} Release: %mkrel 2 Summary: Work with semantic versions in Go Group: Development/Other License: MIT URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.lock BuildArch: noarch %description %{common_description} %gopkg %prep %goprep cp %{S:1} %{S:2} . %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon Mar 21 2022 umeabot <umeabot> 3.1.1-2.mga9 + Revision: 1815374 - Mageia 9 Mass Rebuild * Sun Nov 14 2021 guillomovitch <guillomovitch> 3.1.1-1.mga9 + Revision: 1756427 - imported package golang-github-masterminds-semver