# Generated by go2rpm %bcond_without check # https://github.com/Masterminds/semver %global goipath github.com/Masterminds/semver Version: 1.5.0 %gometa %global goname golang-github-masterminds-semver1 %global godevelname golang-github-masterminds-semver1-devel %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 Name: %{goname} Release: %autorelease Summary: Work with Semantic Versions in Go License: MIT URL: %{gourl} Source0: %{gosource} # Remove in F43 Provides: golang-github-masterminds-semver-1 = %{version}-%{release} Obsoletes: golang-github-masterminds-semver-1 < 1.5.0-8 %global godevelheader %{expand: Provides: golang-github-masterminds-semver-1-devel = %{version}-%{release} Obsoletes: golang-github-masterminds-semver-1-devel < 1.5.0-8} %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog