# Generated by go2rpm %bcond_without check %bcond_with bootstrap %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(gopkg.in/src-d/go-git.v4/plumbing\\)$ %endif # https://github.com/src-d/go-git-fixtures %global goipath gopkg.in/src-d/go-git-fixtures.v3 %global forgeurl https://github.com/src-d/go-git-fixtures Version: 3.5.0 %gometa %global common_description %{expand: Several git fixtures to run go-git tests.} %global golicenses LICENSE %global godocs README.md %global gosupfiles data/* Name: %{goname} Release: %autorelease Summary: Several git fixtures to run go-git tests # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} # Remove in F43 Provides: golang-gopkg-src-d-git-fixtures-3 = %{version}-%{release} Obsoletes: golang-gopkg-src-d-git-fixtures-3 < 3.5.0-12 %global godevelheader %{expand: Provides: golang-gopkg-src-d-git-fixtures-3-devel = %{version}-%{release} Obsoletes: golang-gopkg-src-d-git-fixtures-3-devel < 3.5.0-12} %if %{without bootstrap} BuildRequires: golang(github.com/alcortesm/tgz) BuildRequires: golang(gopkg.in/check.v1) BuildRequires: golang(gopkg.in/src-d/go-billy.v4) BuildRequires: golang(gopkg.in/src-d/go-billy.v4/osfs) BuildRequires: golang(gopkg.in/src-d/go-git.v4/plumbing) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog