# Generated by go2rpm 1 %bcond_without check # https://github.com/git-lfs/gitobj/v2 %global goipath github.com/git-lfs/gitobj Version: 2.1.1 %gometa %global godevelname %{goname}2-devel %global goaltipaths github.com/git-lfs/gitobj/v2 %global godevelheader %{expand: Conflicts: %{goname}-devel } %global common_description %{expand: Gitobj reads and writes Git objects.} %global golicenses LICENSE.md %global godocs README.md Name: %{goname}2 Release: %autorelease Summary: Gitobj reads and writes Git objects License: MIT URL: %{gourl} Source0: %{gosource} # Remove in F43 Provides: golang-github-git-lfs-gitobj-2 = %{version}-%{release} Obsoletes: golang-github-git-lfs-gitobj-2 < 2.1.1-4 %global godevelheader %{expand: Provides: golang-github-git-lfs-gitobj-2-devel = %{version}-%{release} Obsoletes: golang-github-git-lfs-gitobj-2-devel < 2.1.1-4} %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog