# Generated by go2rpm 1 %bcond_without check # https://github.com/jcmturner/goidentity %global goipath gopkg.in/jcmturner/goidentity.v2 %global forgeurl https://github.com/jcmturner/goidentity Version: 2.0.0 %gometa %global common_description %{expand: Standard interface for holding authenticated identities and their attributes.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Standard interface for holding authenticated identities # Upstream license specification: Apache-2.0 License: Apache-2.0 URL: %{gourl} Source0: %{gosource} # Remove in F43 Provides: golang-gopkg-jcmturner-goidentity-2 = %{version}-%{release} Obsoletes: golang-gopkg-jcmturner-goidentity-2 < 2.0.0-10 %global godevelheader %{expand: Provides: golang-gopkg-jcmturner-goidentity-2-devel = %{version}-%{release} Obsoletes: golang-gopkg-jcmturner-goidentity-2-devel < 2.0.0-10} BuildRequires: golang(github.com/hashicorp/go-uuid) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog